CppLogging 1.0.6.0
C++ Logging Library
Loading...
Searching...
No Matches
level.h
Go to the documentation of this file.
1
8
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.
Definition level.h:20
@ WARN
Log warnings.
Definition level.h:22
@ INFO
Log information.
Definition level.h:23
@ ALL
Log everything.
Definition level.h:25
@ NONE
Log nothing.
Definition level.h:19
@ ERROR
Log errors.
Definition level.h:21
@ DEBUG
Log debug.
Definition level.h:24