RESTinio

null_logger.hpp
Go to the documentation of this file.
1/*
2 restinio
3*/
4
9#pragma once
10
11 namespace restinio
12{
13
14//
15// null_logger_t
16//
17
19
22 class null_logger_t
23{
24 public:
25 template< typename Message_Builder >
26 constexpr void
27 trace( Message_Builder && ) const noexcept
28 {}
29
30 template< typename Message_Builder >
31 constexpr void
32 info( Message_Builder && ) const noexcept
33 {}
34
35 template< typename Message_Builder >
36 constexpr void
37 warn( Message_Builder && ) const noexcept
38 {}
39
40 template< typename Message_Builder >
41 constexpr void
42 error( Message_Builder && ) const noexcept
43 {}
44};
45
46} /* 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