activemq-cpp-3.9.5
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

◆ LogWriter()

decaf::util::logging::LogWriter::LogWriter ( )

Referenced by getInstance().

◆ ~LogWriter()

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

Member Function Documentation

◆ destroy()

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

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

◆ getInstance()

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

Get the singleton instance.

References LogWriter().

◆ log() [1/2]

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

◆ log() [2/2]

virtual void decaf::util::logging::LogWriter::log ( const std::string & message)
virtual

Writes a message to the output destination.

Parameters
message

◆ returnInstance()

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: