CppLogging
1.0.4.0
C++ Logging Library
include
logging
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
14
namespace
CppLogging
{
15
17
enum 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
34
template
<
class
TOutputStream>
35
TOutputStream&
operator<<
(TOutputStream& stream,
Level
level);
36
37
}
// namespace CppLogging
38
39
#include "
level.inl
"
40
41
#endif
// CPPLOGGING_LEVEL_H
level.inl
Logging level inline implementation.
CppLogging
C++ Logging project definitions.
Definition:
appender.h:15
CppLogging::operator<<
TOutputStream & operator<<(TOutputStream &stream, TimeRollingPolicy policy)
Stream output: Time rolling policy.
Definition:
rolling_file_appender.inl:12
CppLogging::Level
Level
Logging level.
Definition:
level.h:18
CppLogging::Level::FATAL
@ FATAL
Log fatal errors.
CppLogging::Level::WARN
@ WARN
Log warnings.
CppLogging::Level::INFO
@ INFO
Log information.
CppLogging::Level::ALL
@ ALL
Log everything.
CppLogging::Level::NONE
@ NONE
Log nothing.
CppLogging::Level::ERROR
@ ERROR
Log errors.
CppLogging::Level::DEBUG
@ DEBUG
Log debug.
Generated by
1.9.1