Static Public Member Functions | Private Member Functions | List of all members
icl_core::logging::StdLogOutput Class Reference

#include <StdLogOutput.h>

Inheritance diagram for icl_core::logging::StdLogOutput:
Inheritance graph
[legend]

Static Public Member Functions

static LogOutputStreamcreate (const icl_core::String &name, const icl_core::String &config_prefix, icl_core::logging::LogLevel log_level=cDEFAULT_LOG_LEVEL)
 

Private Member Functions

virtual void pushImpl (const icl_core::String &log_line)
 
 StdLogOutput (const icl_core::String &name, const icl_core::String &config_prefix, icl_core::logging::LogLevel log_level)
 

Additional Inherited Members

- Public Member Functions inherited from icl_core::logging::LogOutputStream
void changeLogFormat (const char *format)
 
void changeTimeFormat (const char *format)
 
icl_core::logging::LogLevel getLogLevel () const
 
 LogOutputStream (const icl_core::String &name, const icl_core::String &config_prefix, icl_core::logging::LogLevel log_level, bool use_worker_thread=true)
 
icl_core::String name () const
 
void printConfiguration () const
 
void push (icl_core::logging::LogLevel log_level, const char *log_stream_description, const char *filename, int line, const char *classname, const char *objectname, const char *function, const char *text)
 
void setLogLevel (icl_core::logging::LogLevel log_level)
 
void shutdown ()
 
void start ()
 Starts the worker thread of the log output stream. More...
 
virtual ~LogOutputStream ()
 
- Protected Member Functions inherited from icl_core::logging::LogOutputStream
 LogOutputStream (const icl_core::String &name, icl_core::logging::LogLevel log_level, bool use_worker_thread=true)
 
- Protected Member Functions inherited from icl_core::Noncopyable
 Noncopyable ()
 
virtual ~Noncopyable ()
 

Detailed Description

An output stream which streams to standard output.

This class is implemented as a singleton so that only one instance can exist in any process.

Definition at line 45 of file StdLogOutput.h.

Constructor & Destructor Documentation

icl_core::logging::StdLogOutput::StdLogOutput ( const icl_core::String name,
const icl_core::String config_prefix,
icl_core::logging::LogLevel  log_level 
)
inlineprivate

Definition at line 55 of file StdLogOutput.h.

Member Function Documentation

LogOutputStream * icl_core::logging::StdLogOutput::create ( const icl_core::String name,
const icl_core::String config_prefix,
icl_core::logging::LogLevel  log_level = cDEFAULT_LOG_LEVEL 
)
static

Creates a new STDOUT log output stream object.

Definition at line 33 of file StdLogOutput.cpp.

void icl_core::logging::StdLogOutput::pushImpl ( const icl_core::String log_line)
privatevirtual

This virtual function is called with a formatted log line. It sould be overridden by output stream implementations, which do not need the individual fields of a log message but only a formatted log message text.

Reimplemented from icl_core::logging::LogOutputStream.

Definition at line 39 of file StdLogOutput.cpp.


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


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59