BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fc::appender Class Referenceabstract

#include <appender.hpp>

Inheritance diagram for fc::appender:
fc::console_appender fc::file_appender fc::gelf_appender

Public Types

typedef std::shared_ptr< appenderptr
 

Public Member Functions

virtual ~appender ()=default
 
virtual void log (const log_message &m)=0
 

Static Public Member Functions

template<typename T >
static bool register_appender (const std::string &type)
 
static appender::ptr create (const std::string &name, const std::string &type, const variant &args)
 
static appender::ptr get (const std::string &name)
 
static bool register_appender (const std::string &type, const appender_factory::ptr &f)
 

Detailed Description

Definition at line 28 of file appender.hpp.

Member Typedef Documentation

typedef std::shared_ptr<appender> fc::appender::ptr

Definition at line 30 of file appender.hpp.

Constructor & Destructor Documentation

virtual fc::appender::~appender ( )
virtualdefault

Member Function Documentation

appender::ptr fc::appender::create ( const std::string &  name,
const std::string &  type,
const variant args 
)
static

Definition at line 35 of file appender.cpp.

appender::ptr fc::appender::get ( const std::string &  name)
static

Definition at line 25 of file appender.cpp.

virtual void fc::appender::log ( const log_message m)
pure virtual
template<typename T >
static bool fc::appender::register_appender ( const std::string &  type)
inlinestatic

Definition at line 33 of file appender.hpp.

bool fc::appender::register_appender ( const std::string &  type,
const appender_factory::ptr f 
)
static

Definition at line 30 of file appender.cpp.


The documentation for this class was generated from the following files: