BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
12 typedef std::shared_ptr<appender_factory>
ptr;
15 virtual std::shared_ptr<appender>
create(
const variant& args ) = 0;
23 return std::shared_ptr<appender>(
new T(args));
30 typedef std::shared_ptr<appender>
ptr;
static appender::ptr create(const std::string &name, const std::string &type, const variant &args)
virtual std::shared_ptr< appender > create(const variant &args)
virtual ~appender()=default
static appender::ptr get(const std::string &name)
virtual void log(const log_message &m)=0
virtual ~appender_factory()
virtual std::shared_ptr< appender > create(const variant &args)=0
aggregates a message along with the context and associated meta-information.
std::shared_ptr< appender > ptr
std::shared_ptr< appender_factory > ptr
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
static bool register_appender(const std::string &type)