Update loglevels.hpp

This commit is contained in:
Kjell Hedström : Available for new Engineering Leadership and Engineering Opportunities 2020-08-05 12:27:05 -06:00 committed by GitHub
parent 5dd714b626
commit b93e96ebf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
// 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
//
// 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.
// 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
//
// example: MyLoggingLevel.h
// #pragma once