CppLogging 1.0.5.0
C++ Logging Library
Loading...
Searching...
No Matches
level.h
Go to the documentation of this file.
1
9#ifndef CPPLOGGING_LEVEL_H
10#define CPPLOGGING_LEVEL_H
11
12#include <cstdint>
13
14namespace CppLogging {
15
17enum class Level : uint8_t
18{
19 NONE = 0x00,
20 FATAL = 0x1F,
21 ERROR = 0x3F,
22 WARN = 0x7F,
23 INFO = 0x9F,
24 DEBUG = 0xBF,
25 ALL = 0xFF
26};
27
29
34template <class TOutputStream>
35TOutputStream& operator<<(TOutputStream& stream, Level level);
36
37} // namespace CppLogging
38
39#include "level.inl"
40
41#endif // CPPLOGGING_LEVEL_H
Logging level inline implementation.
C++ Logging project definitions.
Definition appender.h:15
TOutputStream & operator<<(TOutputStream &stream, TimeRollingPolicy policy)
Stream output: Time rolling policy.
Level
Logging level.
Definition level.h:18
@ FATAL
Log fatal errors.
@ WARN
Log warnings.
@ INFO
Log information.
@ ALL
Log everything.
@ NONE
Log nothing.
@ ERROR
Log errors.
@ DEBUG
Log debug.