diff --git a/README.md b/README.md index aa0a40c..03d4b99 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This lib include include next modules: >> add_subdirectory(QuasarAppLib) * Rebuild yuor project -``` cmake +```cmake add_subdirectory(QuasarAppLib) target_link_libraries(MyBinary PUBLIC QuasarApp) ``` @@ -41,7 +41,7 @@ target_link_libraries(MyBinary PUBLIC QuasarApp) By Default QuasarAppLib makes as a static library. If you want to create a shared library just add the BUILD_SHARED_LIBS into your main CMakeLists.txt file. Example : -``` cmake +```cmake set(BUILD_SHARED_LIBS ON) add_subdirectory(QuasarAppLib) target_link_libraries(MyBinary PUBLIC QuasarApp) @@ -51,7 +51,7 @@ target_link_libraries(MyBinary PUBLIC QuasarApp) # Usage Create objects of the BigInt class, and do what you got to do! -``` cpp +```cpp #include if (!QuasarAppUtils::Params::parseParams(argc, argv)) { diff --git a/params.h b/params.h index 6260682..b3db049 100644 --- a/params.h +++ b/params.h @@ -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, - /// Warning message. This logs will marked as a **Warning** and printing if the verbose lvl >= 2 - Warning = 0x2, + /// Error message. This logs will marked as a **Error** and printing if the verbose lvl >= 0 + Error = 0x0, + /// Warning message. This logs will marked as a **Warning** and printing if the verbose lvl >= 1 + Warning = 0x1, + /// General information. This logs will marked as a **Info** and and printing if the verbose lvl >= 2. + 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"