null_logger.hpp
Go to the documentation of this file.
/*
restinio
*/
#pragma once
namespace restinio
{
//
// null_logger_t
//
class null_logger_t
{
public:
template< typename Message_Builder >
constexpr void
trace( Message_Builder && ) const noexcept
{}
template< typename Message_Builder >
constexpr void
info( Message_Builder && ) const noexcept
{}
template< typename Message_Builder >
constexpr void
warn( Message_Builder && ) const noexcept
{}
template< typename Message_Builder >
constexpr void
error( Message_Builder && ) const noexcept
{}
};
} /* namespace restinio */
restinio::null_logger_t
No operation logger.
Definition: null_logger.hpp:23
restinio::null_logger_t::error
constexpr void error(Message_Builder &&) const noexcept
Definition: null_logger.hpp:42
restinio::null_logger_t::warn
constexpr void warn(Message_Builder &&) const noexcept
Definition: null_logger.hpp:37
restinio::null_logger_t::trace
constexpr void trace(Message_Builder &&) const noexcept
Definition: null_logger.hpp:27
restinio::null_logger_t::info
constexpr void info(Message_Builder &&) const noexcept
Definition: null_logger.hpp:32
restinio
Definition: asio_include.hpp:21
const
#define const
Definition: zconf.h:230