TuttleOFX  1
tuttle::common::formatters::Formatter Class Reference

#include <formatters.hpp>

Public Member Functions

 ~Formatter ()
void init_logging ()
void setLogLevel (const logging::trivial::severity_level level)
void displayLogLevel (bool display)

Static Public Member Functions

static boost::shared_ptr
< Formatter
get ()

Data Fields

boost::shared_ptr< sink_tsink

Static Public Attributes

static boost::shared_ptr
< Formatter
formatter

Private Types

typedef
sinks::synchronous_sink
< sinks::text_ostream_backend > 
sink_t

Private Member Functions

 Formatter ()

Detailed Description

Definition at line 38 of file formatters.hpp.


Member Typedef Documentation

typedef sinks::synchronous_sink< sinks::text_ostream_backend > tuttle::common::formatters::Formatter::sink_t [private]

Definition at line 40 of file formatters.hpp.


Constructor & Destructor Documentation

tuttle::common::formatters::Formatter::Formatter ( ) [inline, private]

Definition at line 43 of file formatters.hpp.

tuttle::common::formatters::Formatter::~Formatter ( ) [inline]

Definition at line 48 of file formatters.hpp.


Member Function Documentation

void tuttle::common::formatters::Formatter::displayLogLevel ( bool  display) [inline]

Definition at line 72 of file formatters.hpp.

References sink.

Referenced by init_logging().

boost::shared_ptr< Formatter > tuttle::common::formatters::Formatter::get ( ) [static]
void tuttle::common::formatters::Formatter::init_logging ( ) [inline]

Definition at line 50 of file formatters.hpp.

References displayLogLevel(), get(), and sink.

Here is the call graph for this function:

void tuttle::common::formatters::Formatter::setLogLevel ( const logging::trivial::severity_level  level) [inline]

Definition at line 67 of file formatters.hpp.

References get().

Here is the call graph for this function:


Field Documentation

Definition at line 91 of file formatters.hpp.

Referenced by get().

Definition at line 92 of file formatters.hpp.

Referenced by displayLogLevel(), and init_logging().


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