AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::logger::test::MockModuleLogger Class Reference
Inheritance diagram for alexaClientSDK::avsCommon::utils::logger::test::MockModuleLogger:
Inheritance graph
Collaboration diagram for alexaClientSDK::avsCommon::utils::logger::test::MockModuleLogger:
Collaboration graph

Public Member Functions

 MockModuleLogger ()
 ~MockModuleLogger ()
Level getLogLevel ()
- Public Member Functions inherited from alexaClientSDK::avsCommon::utils::logger::ModuleLogger
 ModuleLogger (const std::string &configKey)
void setLevel (Level level) override
void emit (Level level, std::chrono::system_clock::time_point time, const char *threadId, const char *text) override
- Public Member Functions inherited from alexaClientSDK::avsCommon::utils::logger::Logger
 Logger (Level level)
virtual ~Logger ()=default
 Destructor. More...
bool shouldLog (Level level) const
void log (Level level, const LogEntry &entry)
void logAtExit (Level level, const LogEntry &entry)
void addLogLevelObserver (LogLevelObserverInterface *observer)
void removeLogLevelObserver (LogLevelObserverInterface *observer)

Additional Inherited Members

- Protected Member Functions inherited from alexaClientSDK::avsCommon::utils::logger::Logger
void init (const configuration::ConfigurationNode configuration)
- Protected Member Functions inherited from alexaClientSDK::avsCommon::utils::logger::LogLevelObserverInterface
virtual ~LogLevelObserverInterface ()=default
- Protected Member Functions inherited from alexaClientSDK::avsCommon::utils::logger::SinkObserverInterface
virtual ~SinkObserverInterface ()=default
- Protected Attributes inherited from alexaClientSDK::avsCommon::utils::logger::ModuleLogger
std::shared_ptr< Loggerm_sink
 The Logger to forward logs to. More...
- Protected Attributes inherited from alexaClientSDK::avsCommon::utils::logger::Logger
std::atomic< Levelm_level
 The lowest severity level of logs to be output by this Logger. More...

Detailed Description

Mock derivation of ModuleLogger for verifying calls and parameters to those calls.

Constructor & Destructor Documentation

◆ MockModuleLogger()

alexaClientSDK::avsCommon::utils::logger::test::MockModuleLogger::MockModuleLogger ( )

MockModuleLogger constructor.

◆ ~MockModuleLogger()

alexaClientSDK::avsCommon::utils::logger::test::MockModuleLogger::~MockModuleLogger ( )

MockModuleLogger destructor.

Member Function Documentation

◆ getLogLevel()

Level alexaClientSDK::avsCommon::utils::logger::test::MockModuleLogger::getLogLevel ( )

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0