mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
Update loglevels.hpp
This commit is contained in:
parent
5dd714b626
commit
b93e96ebf7
@ -62,12 +62,11 @@ struct LEVELS {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// If you want to add any extra logging level then please add to your own source file the logging level you need
|
// If you want to add any extra logging level then please add to your own source file the logging level you need
|
||||||
// then insert it using g3::only_change_at_initialization::addLogLevel(...). Please note that this only works for dynamic logging levels.
|
// 1. If the cmake option G3_DYNAMIC_LOGGING is enabled then you must use g3::only_change_at_initialization::addLogLevel(...).
|
||||||
|
// to give g3log a record of your logging level and if it is an enabled or disbled logging level.
|
||||||
//
|
//
|
||||||
// There should be NO reason for modifying this source file when adding custom levels
|
// 2. If the cmake dynamic logging option is turned OF
|
||||||
//
|
// then giving g3log a record of your logging level with 'addLogLevel(...) is NOT needed since all logging levels are enabled
|
||||||
// When dynamic loggins levels are disabled then adding your own logging levels is not required as
|
|
||||||
// the new logging level by default will always be enabled.
|
|
||||||
//
|
//
|
||||||
// example: MyLoggingLevel.h
|
// example: MyLoggingLevel.h
|
||||||
// #pragma once
|
// #pragma once
|
||||||
|
Loading…
Reference in New Issue
Block a user