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>
4
5namespace 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:
29 class impl;
30 std::unique_ptr<impl> my;
31 };
32}
33
virtual void initialize(boost::asio::io_service &io_service) override
dmlog_appender(const std::optional< config > &args)
virtual void log(const log_message &m) override
aggregates a message along with the context and associated meta-information.
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
Definition variant.hpp:191
namespace sysio::chain
Definition authority.cpp:3
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311