activemq-cpp-3.6.0
decaf::util::logging::LogWriter Class Reference

#include <src/main/decaf/util/logging/LogWriter.h>

Public Member Functions

 LogWriter ()
virtual ~LogWriter ()
virtual void log (const std::string &file, const int line, const std::string &prefix, const std::string &message)
 Writes a message to the output destination.
virtual void log (const std::string &message)
 Writes a message to the output destination.

Static Public Member Functions

static LogWritergetInstance ()
 Get the singleton instance.
static void returnInstance ()
 Returns a Checked out instance of this Writer.
static void destroy ()
 Forcefully Delete the Instance of this LogWriter even if there are outstanding references.

Constructor & Destructor Documentation

decaf::util::logging::LogWriter::LogWriter ( )
virtual decaf::util::logging::LogWriter::~LogWriter ( )
virtual

Member Function Documentation

static void decaf::util::logging::LogWriter::destroy ( )
static

Forcefully Delete the Instance of this LogWriter even if there are outstanding references.

static LogWriter& decaf::util::logging::LogWriter::getInstance ( )
static

Get the singleton instance.

virtual void decaf::util::logging::LogWriter::log ( const std::string &  file,
const int  line,
const std::string &  prefix,
const std::string &  message 
)
virtual

Writes a message to the output destination.

Parameters
file
line
prefix
message
virtual void decaf::util::logging::LogWriter::log ( const std::string &  message)
virtual

Writes a message to the output destination.

Parameters
message
static void decaf::util::logging::LogWriter::returnInstance ( )
static

Returns a Checked out instance of this Writer.


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