qxLib
verbosity.h
Go to the documentation of this file.
1 /**
2 
3  @file verbosity.h
4  @author Khrapov
5  @date 23.07.2023
6  @copyright © Nick Khrapov, 2023. All right reserved.
7 
8 **/
9 #pragma once
10 
11 #ifndef QX_CONF_COMPILE_TIME_VERBOSITY
12  #define QX_CONF_COMPILE_TIME_VERBOSITY qx::verbosity::very_verbose
13 #endif
14 
15 namespace qx
16 {
17 
18 enum class verbosity
19 {
20  very_verbose, // very frequently repeated messages, for example, on every update
21  verbose, // messages you don't want to be displayed by default
22  log, // default level
23  important, // same as log but highlighted if possible
24  warning, // not yet an error, but something to look out for
25  error, // an error after which it is possible to continue the program
26  critical, // an error that makes it impossible to continue the program
27  none, // message is not displayed
28 };
29 
30 }