template <typename Type>
class Logger
Defined at line 52 of file ../../src/connectivity/openthread/third_party/openthread/platform/logger.h
Provides logging methods for a specific POSIX module.
The `Type` class MUST provide a `static const char kLogModuleName[]` which specifies the POSIX
log module name to include in the platform logs (using `otLogPlatArgs()`).
Users of this class should follow CRTP-style inheritance, i.e., the `Type` class itself should
inherit from `Logger
<Type
>`.
Public Methods
void LogCrit (const char * aFormat)
Emits a log message at critical log level.
Parameters
Defined at line 60 of file ../../src/connectivity/openthread/third_party/openthread/platform/logger.h
void LogWarn (const char * aFormat)
Emits a log message at warning log level.
Parameters
Defined at line 74 of file ../../src/connectivity/openthread/third_party/openthread/platform/logger.h
void LogNote (const char * aFormat)
Emits a log message at note log level.
Parameters
Defined at line 88 of file ../../src/connectivity/openthread/third_party/openthread/platform/logger.h
void LogInfo (const char * aFormat)
Emits a log message at info log level.
Parameters
Defined at line 102 of file ../../src/connectivity/openthread/third_party/openthread/platform/logger.h
void LogDebg (const char * aFormat)
Emits a log message at debug log level.
Parameters
Defined at line 116 of file ../../src/connectivity/openthread/third_party/openthread/platform/logger.h