Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
dmlog_appender.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
fc/log/appender.hpp
>
3
#include <
fc/reflect/reflect.hpp
>
4
5
namespace
fc
{
6
12
class
dmlog_appender
:
public
appender
13
{
14
public
:
15
struct
config
16
{
17
std::string file =
"-"
;
18
};
19
explicit
dmlog_appender
(
const
variant
& args );
20
explicit
dmlog_appender
(
const
std::optional<config>& args) ;
21
22
virtual
~dmlog_appender
();
23
virtual
void
initialize
( boost::asio::io_service& io_service )
override
;
24
25
virtual
void
log
(
const
log_message
& m )
override
;
26
27
private
:
28
dmlog_appender
();
29
class
impl
;
30
std::unique_ptr<impl> my;
31
};
32
}
33
34
FC_REFLECT
(
fc::dmlog_appender::config
, (file))
appender.hpp
fc::appender
Definition
appender.hpp:35
fc::dmlog_appender::impl
Definition
dmlog_appender.cpp:18
fc::dmlog_appender
Definition
dmlog_appender.hpp:13
fc::dmlog_appender::initialize
virtual void initialize(boost::asio::io_service &io_service) override
Definition
dmlog_appender.cpp:59
fc::dmlog_appender::dmlog_appender
dmlog_appender(const std::optional< config > &args)
fc::dmlog_appender::log
virtual void log(const log_message &m) override
Definition
dmlog_appender.cpp:61
fc::dmlog_appender::~dmlog_appender
virtual ~dmlog_appender()
Definition
dmlog_appender.cpp:52
fc::log_message
aggregates a message along with the context and associated meta-information.
Definition
log_message.hpp:106
fc::variant
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
Definition
variant.hpp:191
fc
namespace sysio::chain
Definition
authority.cpp:3
reflect.hpp
FC_REFLECT
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition
reflect.hpp:311
fc::dmlog_appender::config
Definition
dmlog_appender.hpp:16
libraries
fc
include
fc
log
dmlog_appender.hpp
Generated by
1.12.0