userver: userver/logging/null_logger.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.