4
0
mirror of https://github.com/QuasarApp/QuasarAppLib.git synced 2025-05-04 05:29:44 +00:00

chenge default verbose level

This commit is contained in:
Andrei Yankovich 2021-04-30 12:06:50 +03:00
parent da1df65ada
commit f5a8f4de82

@ -19,19 +19,19 @@ namespace QuasarAppUtils {
* @brief The VerboseLvl enum uses for sets log level.
*/
enum VerboseLvl {
/// General information. This logs will marked as a **Info** and printing always.
Info = 0x0,
/// Error message. This logs will marked as a **Error** and printing if the verbose lvl >= 1
Error = 0x1,
Error = 0x0,
/// Warning message. This logs will marked as a **Warning** and printing if the verbose lvl >= 2
Warning = 0x2,
Warning = 0x1,
/// General information. This logs will marked as a **Info** and printing always.
Info = 0x2,
/// Debug message. This logs will marked as a **Debug** and printing if the verbose lvl >= 3
Debug = 0x3,
};
#ifdef RELEASE_BUILD
#define DEFAULT_VERBOSE_LVL "1"
#define DEFAULT_VERBOSE_LVL "2"
#else
#define DEFAULT_VERBOSE_LVL "3"