C++ Client-Side SDK
LaunchDarkly SDK
|
#include <log_backend_wrapper.hpp>
Public Member Functions | |
LogBackendWrapper (LDLogBackend backend) | |
bool | Enabled (launchdarkly::LogLevel level) noexcept override |
void | Write (launchdarkly::LogLevel level, std::string message) noexcept override |
Public Member Functions inherited from launchdarkly::ILogBackend | |
ILogBackend (ILogBackend const &item)=delete | |
ILogBackend (ILogBackend &&item)=delete | |
ILogBackend & | operator= (ILogBackend const &)=delete |
ILogBackend & | operator= (ILogBackend &&)=delete |
Utility class to allow user-provided backends to satisfy the ILogBackend interface.
|
inlineoverridevirtualnoexcept |
Check if the specified log level is enabled.
level | The log level to check. |
Implements launchdarkly::ILogBackend.
|
inlineoverridevirtualnoexcept |
Write a message to the specified level. This method must be thread safe.
level | The level to write the message to. |
message | The message to write. |
Implements launchdarkly::ILogBackend.