l4snd::LocationInformation Class Reference

Additional information for a logging event. More...

List of all members.

Public Member Functions

 LocationInformation (const std::string &filename, unsigned linenum, const std::string &methodname, const std::string &threadname, const std::string &throwablename="")
 Constructs the block.
std::string getFilename () const
 Gets the file name.
std::string getMethodname () const
 Gets the methodname.
std::string getThreadname () const
 Gets the threadname.
std::string getThrowablename () const
 Gets the throwable name.
unsigned getLinenumber () const
 Gets the linenumber.


Detailed Description

Additional information for a logging event.

Definition at line 40 of file locationinfo.h.


Constructor & Destructor Documentation

l4snd::LocationInformation::LocationInformation ( const std::string &  filename,
unsigned  linenum,
const std::string &  methodname,
const std::string &  threadname,
const std::string &  throwablename = "" 
)

Constructs the block.

Parameters:
filename filename
linenum linenumber
methodname methodname
threadname threadname
throwablename throwblename

Definition at line 42 of file locationinfo.cpp.


Member Function Documentation

std::string l4snd::LocationInformation::getFilename (  )  const

Gets the file name.

Returns:
filename

Definition at line 65 of file locationinfo.cpp.

std::string l4snd::LocationInformation::getMethodname (  )  const

Gets the methodname.

Returns:
der Methodenname

Definition at line 72 of file locationinfo.cpp.

std::string l4snd::LocationInformation::getThreadname (  )  const

Gets the threadname.

Returns:
threadname

Definition at line 79 of file locationinfo.cpp.

std::string l4snd::LocationInformation::getThrowablename (  )  const

Gets the throwable name.

This contains more information about an exception.

Returns:
throwablename

Definition at line 86 of file locationinfo.cpp.

unsigned l4snd::LocationInformation::getLinenumber (  )  const

Gets the linenumber.

Returns:
linenumber

Definition at line 92 of file locationinfo.cpp.


The documentation for this class was generated from the following files:
Generated on Sat Nov 24 14:41:25 2007 for log4sendpp by  doxygen 1.5.3