bux API Reference
1.12.6
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
include
bux
LogLevel.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
bux
{
4
5
//
6
// Types
7
//
8
enum
E_LogLevel
9
{
10
LL_FATAL
,
11
LL_ERROR
,
12
LL_WARNING
,
13
LL_INFO
,
14
LL_DEBUG
,
15
LL_VERBOSE
16
};
17
static_assert
(
LL_FATAL
<
LL_ERROR
);
18
static_assert
(
LL_ERROR
<
LL_WARNING
);
19
static_assert
(
LL_WARNING
<
LL_INFO
);
20
static_assert
(
LL_INFO
<
LL_DEBUG
);
21
static_assert
(
LL_DEBUG
<
LL_VERBOSE
);
22
23
}
// namespace bux
24
25
using
bux::LL_FATAL
;
26
using
bux::LL_ERROR
;
27
using
bux::LL_WARNING
;
28
using
bux::LL_INFO
;
29
using
bux::LL_DEBUG
;
30
using
bux::LL_VERBOSE
;
LL_DEBUG
@ LL_DEBUG
Debug only logs which can be suppressed easily for releases.
Definition
LogLevel.h:14
LL_WARNING
@ LL_WARNING
Situation that should be warned but should not have sabotaged anything already.
Definition
LogLevel.h:12
LL_ERROR
@ LL_ERROR
Error not serious enough that the program can continue to run.
Definition
LogLevel.h:11
LL_INFO
@ LL_INFO
Information worth mentioning about the current status, be it normal or abnormal.
Definition
LogLevel.h:13
LL_VERBOSE
@ LL_VERBOSE
More detailed or advanced information probably considered too much by some.
Definition
LogLevel.h:15
LL_FATAL
@ LL_FATAL
Error serious enough that the program should shut down immediately after reporting this.
Definition
LogLevel.h:10
bux
THE common namespace of bux library.
Definition
AtomiX.cpp:3
bux::E_LogLevel
E_LogLevel
Definition
LogLevel.h:9
bux::LL_DEBUG
@ LL_DEBUG
Debug only logs which can be suppressed easily for releases.
Definition
LogLevel.h:14
bux::LL_WARNING
@ LL_WARNING
Situation that should be warned but should not have sabotaged anything already.
Definition
LogLevel.h:12
bux::LL_ERROR
@ LL_ERROR
Error not serious enough that the program can continue to run.
Definition
LogLevel.h:11
bux::LL_INFO
@ LL_INFO
Information worth mentioning about the current status, be it normal or abnormal.
Definition
LogLevel.h:13
bux::LL_VERBOSE
@ LL_VERBOSE
More detailed or advanced information probably considered too much by some.
Definition
LogLevel.h:15
bux::LL_FATAL
@ LL_FATAL
Error serious enough that the program should shut down immediately after reporting this.
Definition
LogLevel.h:10
Generated by
1.18.0