Add struct member LogSettings::is_category_enabled so that it can be used for fast checking in intense portions of code

This commit is contained in:
Akkadius
2015-02-01 01:58:10 -06:00
parent 5f64b1e1c8
commit 46ac254b3a
4 changed files with 31 additions and 0 deletions
+1
View File
@@ -160,6 +160,7 @@ public:
uint8 log_to_file;
uint8 log_to_console;
uint8 log_to_gmsay;
uint8 is_category_enabled; /* When any log output in a category > 0, set this to 1 as (Enabled) */
};
/* Internally used memory reference for all log settings per category.