CppLogging
1.0.4.0
C++ Logging Library
|
C++ Logging project definitions. More...
Classes | |
class | Appender |
Logging appender interface. More... | |
class | ConsoleAppender |
Console (stdout) appender. More... | |
class | DebugAppender |
Debug appender. More... | |
class | ErrorAppender |
Error (stderr) appender. More... | |
class | FileAppender |
File appender. More... | |
class | MemoryAppender |
Memory appender. More... | |
class | NullAppender |
Null appender. More... | |
class | OstreamAppender |
Output stream (std::ostream) appender. More... | |
class | RollingFileAppender |
Rolling file appender. More... | |
class | SyslogAppender |
Syslog appender. More... | |
class | Config |
Logger configuration static class. More... | |
class | Element |
Logging element interface. More... | |
class | Filter |
Logging filter interface. More... | |
class | LevelFilter |
Level filter. More... | |
class | LoggerFilter |
Logger filter. More... | |
class | MessageFilter |
Message filter. More... | |
class | SwitchFilter |
Switch filter. More... | |
class | Layout |
Logging layout interface. More... | |
class | BinaryLayout |
Binary layout. More... | |
class | EmptyLayout |
Empty layout. More... | |
class | HashLayout |
Hash layout. More... | |
class | NullLayout |
Null layout. More... | |
class | TextLayout |
Text layout. More... | |
class | Logger |
Logger interface. More... | |
class | Processor |
Logging processor interface. More... | |
class | AsyncWaitFreeProcessor |
Asynchronous wait-free logging processor. More... | |
class | AsyncWaitFreeQueue |
Asynchronous wait-free logging ring queue. More... | |
class | AsyncWaitProcessor |
Asynchronous wait logging processor. More... | |
class | BufferedProcessor |
Buffered logging processor. More... | |
class | ExclusiveProcessor |
Exclusive logging processor. More... | |
class | SyncProcessor |
Synchronous logging processor. More... | |
class | Record |
Logging record. More... | |
class | Trigger |
Logging trigger. More... | |
Enumerations | |
enum class | TimeRollingPolicy { YEAR , MONTH , DAY , HOUR , MINUTE , SECOND } |
Time rolling policy. More... | |
enum class | Level : uint8_t { NONE = 0x00 , FATAL = 0x1F , ERROR = 0x3F , WARN = 0x7F , INFO = 0x9F , DEBUG = 0xBF , ALL = 0xFF } |
Logging level. More... | |
enum class | ArgumentType : uint8_t { ARG_UNKNOWN , ARG_BOOL , ARG_CHAR , ARG_WCHAR , ARG_INT8 , ARG_UINT8 , ARG_INT16 , ARG_UINT16 , ARG_INT32 , ARG_UINT32 , ARG_INT64 , ARG_UINT64 , ARG_FLOAT , ARG_DOUBLE , ARG_STRING , ARG_POINTER , ARG_NAMEDARG , ARG_CUSTOM , ARG_LIST } |
Functions | |
template<class TOutputStream > | |
TOutputStream & | operator<< (TOutputStream &stream, TimeRollingPolicy policy) |
Stream output: Time rolling policy. More... | |
template<class TOutputStream > | |
TOutputStream & | operator<< (TOutputStream &stream, Level level) |
Stream output: Logging level. More... | |
void | SerializeArgument (Record &record) |
void | SerializeArgument (Record &record, bool argument) |
void | SerializeArgument (Record &record, char argument) |
void | SerializeArgument (Record &record, wchar_t argument) |
void | SerializeArgument (Record &record, int8_t argument) |
void | SerializeArgument (Record &record, uint8_t argument) |
void | SerializeArgument (Record &record, int16_t argument) |
void | SerializeArgument (Record &record, uint16_t argument) |
void | SerializeArgument (Record &record, int32_t argument) |
void | SerializeArgument (Record &record, uint32_t argument) |
void | SerializeArgument (Record &record, int64_t argument) |
void | SerializeArgument (Record &record, uint64_t argument) |
void | SerializeArgument (Record &record, float argument) |
void | SerializeArgument (Record &record, double argument) |
void | SerializeArgument (Record &record, const char *argument) |
void | SerializeArgument (Record &record, std::string_view argument) |
void | SerializeArgument (Record &record, const std::string &argument) |
template<typename T > | |
void | SerializeArgument (Record &record, T *argument) |
template<typename T > | |
void | SerializeArgument (Record &record, const T *argument) |
template<typename T > | |
void | SerializeArgument (Record &record, const fmt::detail::named_arg< char, T > &argument) |
template<typename T > | |
void | SerializeArgument (Record &record, const T &argument) |
template<typename T , typename... Args> | |
void | SerializeArgument (Record &record, const T &argument, Args &&... args) |
void | swap (Record &record1, Record &record2) noexcept |
Variables | |
const char | version [] = "1.0.4.0" |
Project version. More... | |
C++ Logging project definitions.
|
strong |
Definition at line 22 of file record.inl.
|
strong |
|
strong |
Time rolling policy.
Enumerator | |
---|---|
YEAR | Year rolling policy. |
MONTH | Monthly rolling policy. |
DAY | Daily rolling policy. |
HOUR | Hour rolling policy. |
MINUTE | Minute rolling policy. |
SECOND | Second rolling policy. |
Definition at line 21 of file rolling_file_appender.h.
|
inline |
|
inline |
Stream output: Time rolling policy.
stream | - Output stream |
policy | - Time rolling policy |
Definition at line 12 of file rolling_file_appender.inl.
|
inline |
Definition at line 45 of file record.inl.
|
inline |
Definition at line 49 of file record.inl.
|
inline |
Definition at line 62 of file record.inl.
|
inline |
Definition at line 218 of file record.inl.
|
inline |
Definition at line 301 of file record.inl.
|
inline |
Definition at line 254 of file record.inl.
|
inline |
Definition at line 347 of file record.inl.
|
inline |
Definition at line 354 of file record.inl.
|
inline |
Definition at line 287 of file record.inl.
|
inline |
Definition at line 207 of file record.inl.
|
inline |
Definition at line 196 of file record.inl.
|
inline |
Definition at line 110 of file record.inl.
|
inline |
Definition at line 133 of file record.inl.
|
inline |
Definition at line 155 of file record.inl.
|
inline |
Definition at line 88 of file record.inl.
|
inline |
Definition at line 236 of file record.inl.
|
inline |
Definition at line 273 of file record.inl.
|
inline |
Definition at line 122 of file record.inl.
|
inline |
Definition at line 144 of file record.inl.
|
inline |
Definition at line 166 of file record.inl.
|
inline |
Definition at line 99 of file record.inl.
|
inline |
Definition at line 75 of file record.inl.
Definition at line 472 of file record.inl.