FARGOS/VISTA Object Management Environment Core
..
|
Convenience mechanism to automatically register a log level command line flag definition. More...
#include <logging_api.hpp>
Public Member Functions | |
AutoRegisterLogLevelName (const char *name, uint32_t mask, const char *label=nullptr) | |
Automatically register a log level name with the command line option parser. More... | |
~AutoRegisterLogLevelName () | |
Convenience mechanism to automatically register a log level command line flag definition.
Intended for use in components implemented by (shared) libraries. Invokes LogMessageRecord::define_commandline_flag().
|
inline |
Automatically register a log level name with the command line option parser.
name | points to the null-terminated string representing the level name or alias. |
mask | is the mask that indicates the levels associated with the level name. |
label | is an optional text label like "INFO", "DEBUG", "TRACE", etc. |
Arguments are passed to LogMessageRecord::define_commandline_flag() as-is.
References LogMessageRecord::define_commandline_flag().
|
inline |
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |