userver: userver/logging/null_logger.hpp File Reference
Loading...
Searching...
No Matches
null_logger.hpp File Reference

Detailed Description

Creates a logger that drops all incoming messages.

Definition in file null_logger.hpp.

Go to the source code of this file.

+ Include dependency graph for null_logger.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  logging
 Logging macro and utilities.
 

Functions

LoggerRef logging::GetNullLogger () noexcept
 Returns a logger that drops all incoming messages.
 
LoggerPtr logging::MakeNullLogger ()
 Creates a logger that drops all incoming messages.