Electroneum
el::base Namespace Reference

Namespace containing base/internal functionality used by Easylogging++. More...

Namespaces

 consts
 Namespace containing constants used internally.
 
 debug
 Contains some internal debugging tools like crash handler and stack tracer.
 
 threading
 
 type
 Data types used by Easylogging++.
 
 utils
 Namespace containing utility functions/static classes used internally.
 

Classes

class  DefaultLogBuilder
 
class  DefaultLogDispatchCallback
 
class  HitCounter
 Class that keeps record of current line hit for occasional logging. More...
 
class  LogDispatcher
 Dispatches log messages. More...
 
class  LogFormat
 Represents log format containing flags and date format. This is used internally to start initial log. More...
 
class  MessageBuilder
 
class  NoCopy
 Internal helper class that prevent copy constructor for class. More...
 
class  NullWriter
 Writes nothing - Used when certain log is disabled. More...
 
class  PErrorWriter
 
class  RegisteredHitCounters
 Repository for hit counters used across the application. More...
 
class  RegisteredLoggers
 Loggers repository. More...
 
class  StaticClass
 Internal helper class that makes all default constructors private. More...
 
class  Storage
 Easylogging++ management storage. More...
 
class  SubsecondPrecision
 A subsecond precision class containing actual width and offset of the subsecond part. More...
 
class  TypedConfigurations
 Configurations with data types. More...
 
class  VRegistry
 Represents registries for verbose logging. More...
 
class  Writer
 Main entry point of each logging. More...
 

Typedefs

typedef SubsecondPrecision MillisecondsWidth
 Type alias of SubsecondPrecision. More...
 
typedef std::shared_ptr< base::type::fstream_tFileStreamPtr
 
typedef std::unordered_map< std::string, FileStreamPtrLogStreamsReferenceMap
 

Enumerations

enum  TimestampUnit : base::type::EnumType {
  TimestampUnit::Microsecond = 0, TimestampUnit::Millisecond = 1, TimestampUnit::Second = 2, TimestampUnit::Minute = 3,
  TimestampUnit::Hour = 4, TimestampUnit::Day = 5
}
 Enum to represent timestamp unit. More...
 
enum  FormatFlags : base::type::EnumType {
  FormatFlags::DateTime = 1 << 1, FormatFlags::LoggerId = 1 << 2, FormatFlags::File = 1 << 3, FormatFlags::Line = 1 << 4,
  FormatFlags::Location = 1 << 5, FormatFlags::Function = 1 << 6, FormatFlags::User = 1 << 7, FormatFlags::Host = 1 << 8,
  FormatFlags::LogMessage = 1 << 9, FormatFlags::VerboseLevel = 1 << 10, FormatFlags::AppName = 1 << 11, FormatFlags::ThreadId = 1 << 12,
  FormatFlags::Level = 1 << 13, FormatFlags::FileBase = 1 << 14, FormatFlags::LevelShort = 1 << 15
}
 Format flags used to determine specifiers that are active for performance improvements. More...
 
enum  DispatchAction : base::type::EnumType { DispatchAction::None = 1, DispatchAction::NormalLog = 2, DispatchAction::SysLog = 4, DispatchAction::FileOnlyLog = 8 }
 Action to be taken for dispatching. More...
 

Variables

ELPP_EXPORT base::type::StoragePointer elStorage
 

Detailed Description

Namespace containing base/internal functionality used by Easylogging++.

Typedef Documentation

◆ FileStreamPtr

Definition at line 1918 of file easylogging++.h.

◆ LogStreamsReferenceMap

typedef std::unordered_map<std::string, FileStreamPtr> el::base::LogStreamsReferenceMap

Definition at line 1919 of file easylogging++.h.

◆ MillisecondsWidth

Type alias of SubsecondPrecision.

Definition at line 867 of file easylogging++.h.

Enumeration Type Documentation

◆ DispatchAction

Action to be taken for dispatching.

Enumerator
None 
NormalLog 
SysLog 
FileOnlyLog 

Definition at line 2161 of file easylogging++.h.

◆ FormatFlags

Format flags used to determine specifiers that are active for performance improvements.

Enumerator
DateTime 
LoggerId 
File 
Line 
Location 
Function 
User 
Host 
LogMessage 
VerboseLevel 
AppName 
ThreadId 
Level 
FileBase 
LevelShort 

Definition at line 832 of file easylogging++.h.

833  DateTime = 1 << 1,
834  LoggerId = 1 << 2,
835  File = 1 << 3,
836  Line = 1 << 4,
837  Location = 1 << 5,
838  Function = 1 << 6,
839  User = 1 << 7,
840  Host = 1 << 8,
841  LogMessage = 1 << 9,
842  VerboseLevel = 1 << 10,
843  AppName = 1 << 11,
844  ThreadId = 1 << 12,
845  Level = 1 << 13,
846  FileBase = 1 << 14,
847  LevelShort = 1 << 15
848 };
Level
Represents enumeration for severity level used to determine level of logging.
unsigned int EnumType
unsigned short VerboseLevel

◆ TimestampUnit

Enum to represent timestamp unit.

Enumerator
Microsecond 
Millisecond 
Second 
Minute 
Hour 
Day 

Definition at line 828 of file easylogging++.h.

Variable Documentation

◆ elStorage