mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-04 21:49:42 +00:00
chenge default verbose level
This commit is contained in:
parent
da1df65ada
commit
f5a8f4de82
10
params.h
10
params.h
@ -19,19 +19,19 @@ namespace QuasarAppUtils {
|
|||||||
* @brief The VerboseLvl enum uses for sets log level.
|
* @brief The VerboseLvl enum uses for sets log level.
|
||||||
*/
|
*/
|
||||||
enum VerboseLvl {
|
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 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 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 message. This logs will marked as a **Debug** and printing if the verbose lvl >= 3
|
||||||
Debug = 0x3,
|
Debug = 0x3,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef RELEASE_BUILD
|
#ifdef RELEASE_BUILD
|
||||||
#define DEFAULT_VERBOSE_LVL "1"
|
#define DEFAULT_VERBOSE_LVL "2"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_VERBOSE_LVL "3"
|
#define DEFAULT_VERBOSE_LVL "3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user