Electroneum
Loading...
Searching...
No Matches
el::base Namespace Reference

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

Namespaces

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

Classes

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

Typedefs

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

Enumerations

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

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.

832 : base::type::EnumType {
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};
unsigned short VerboseLevel
Level
Represents enumeration for severity level used to determine level of logging.

◆ TimestampUnit

Enum to represent timestamp unit.

Enumerator
Microsecond 
Millisecond 
Second 
Minute 
Hour 
Day 

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

Variable Documentation

◆ elStorage

ELPP_EXPORT base::type::StoragePointer el::base::elStorage
extern