16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_LOGGER_MODULELOGGER_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_LOGGER_MODULELOGGER_H_ 44 void emit(
Level level, std::chrono::system_clock::time_point time,
const char* threadId,
const char* text)
override;
47 void onLogLevelChanged(
Level level)
override;
49 void onSinkChanged(
const std::shared_ptr<Logger>& sink)
override;
54 void updateLogLevel();
57 Level m_moduleLogLevel;
72 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_LOGGER_MODULELOGGER_H_ Level
Definition: Level.h:30
void emit(Level level, std::chrono::system_clock::time_point time, const char *threadId, const char *text) override
::std::string string
Definition: gtest-port.h:1097
void setLevel(Level level) override
Definition: LogLevelObserverInterface.h:30
Definition: SinkObserverInterface.h:32
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
ModuleLogger(const std::string &configKey)
Definition: ModuleLogger.h:29
std::shared_ptr< Logger > m_sink
The Logger to forward logs to.
Definition: ModuleLogger.h:64