libmoost
moost::service::MoostLoggingPolicy Class Reference

This policy implements logging using moost::logging. More...

#include <skeleton.hpp>

List of all members.

Public Types

typedef
moost::process::MoostStandardConsoleLoggerPolicy 
DefaultConsoleLoggerPolicy

Public Member Functions

 MoostLoggingPolicy ()
void set_init_verbose (bool verbose)
void add_options (boost::program_options::options_description &od, option_validator &opt_validator)
void validate_options (const boost::program_options::variables_map &) const
bool initialise (const std::string &program_name, const boost::program_options::variables_map &)
template<class T >
void configure_service (T &service) const

Private Attributes

std::string m_log_level
std::string m_log_config
bool m_verbose

Detailed Description

This policy implements logging using moost::logging.

Definition at line 259 of file skeleton.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

void moost::service::MoostLoggingPolicy::add_options ( boost::program_options::options_description &  od,
option_validator opt_validator 
) [inline]

Definition at line 279 of file skeleton.hpp.

Here is the call graph for this function:

template<class T >
void moost::service::MoostLoggingPolicy::configure_service ( T &  service) const [inline]

Definition at line 325 of file skeleton.hpp.

bool moost::service::MoostLoggingPolicy::initialise ( const std::string &  program_name,
const boost::program_options::variables_map &   
) [inline]

Definition at line 303 of file skeleton.hpp.

Here is the call graph for this function:

Definition at line 274 of file skeleton.hpp.

void moost::service::MoostLoggingPolicy::validate_options ( const boost::program_options::variables_map &  ) const [inline]

Definition at line 287 of file skeleton.hpp.


Member Data Documentation

Definition at line 263 of file skeleton.hpp.

Definition at line 262 of file skeleton.hpp.

Definition at line 264 of file skeleton.hpp.


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