From 94ae057baf1b45cd68efc8b5a2e9dce7aa3a83cd Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 22 Jul 2023 12:30:07 -0400 Subject: [PATCH] readme update --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aeb6a03..55e0c1b 100755 --- a/README.md +++ b/README.md @@ -13,7 +13,13 @@ the header file anywhere in your project and in ONE cpp file define `#define BLT If you are using BLT as a CMake library (as you should!) this is done for you. - ### Compile Time Config - Using CMake - - + - Several options are provided which disable various logging contexts, as such global logging can be disabled by passing `-DBLT_DISABLE_LOGGING:BOOL=ON` + - Options follow the pattern of `BLT_DISABLE_LEVEL` where level is one of `TRACE`,`DEBUG`,`INFO`,`WARN`,`ERROR`, or `FATAL`. + - This allows for individual logging levels to be disabled while leaving the others functional. These options can be combined. + - See CMakeLists.txt for a complete list of options. + - Standalone + - The CMake options define global variables in a config file. If you are using logging standalone you will need to remove the config include. + - Macros can be used in the same pattern of `BLT_DISABLE_LEVEL` to disable the various logging levels --- # **Features / Examples**