Go to the documentation of this file.
14 namespace Azure {
namespace Core {
namespace Diagnostics {
46 static void SetListener(std::function<
void(
Level level, std::string
const& message)> listener);
@ Verbose
Logging level for detailed troubleshooting scenarios.
@ Error
Logging level for failures that the application is unlikely to recover from.
Level
Log message level.
Definition: logger.hpp:26
Log message handler.
Definition: logger.hpp:18
static void SetLevel(Level level)
Sets the log message level an application is interested in receiving.
Definition: logger.cpp:51
@ Informational
Logging level when a function operates normally.
Azure SDK abstractions.
Definition: azure_assert.hpp:55
@ Warning
Logging level when a function fails to perform its intended task.
static void SetListener(std::function< void(Level level, std::string const &message)> listener)
Sets the function that will be invoked to report an Azure SDK log message.
Definition: logger.cpp:43