Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

krmuo::LoggingSuitcase Class Reference

class for managing action-, warn- and errorloggingmessages More...

#include <muo_logging.h>

Collaboration diagram for krmuo::LoggingSuitcase:

Collaboration graph
[legend]
List of all members.

Public Methods

 LoggingSuitcase (const unsigned int pActionMessageLevel, const unsigned int pErrorMessageLevel)
 constructor for LoggingSuitcases without fileentries

 LoggingSuitcase (const unsigned int pShowActionMessages, const unsigned int pShowErrorMessages, const string &pLogDirPath, const string &pLogFileNameKernel, bool pUsesSharedLoggingFile)
 constructor for LoggingSuitcases without screenmessages

 LoggingSuitcase (const unsigned int pShowActionMessages, const unsigned int pShowErrorMessages, bool pWithScreenMessages, const string &pLogDirPath, const string &pLogFileNameKernel, bool pUsesSharedLoggingFile)
 constructor for LoggingSuitcases with file- and screenmessages

 ~LoggingSuitcase ()
 class-destructor

void turnOffScreenWriting ()
 set mScreen to Null

void makeActionLogEntry (const string &pLogString, const unsigned int pLogEntryLevel) const
 write one-string-message into the ActionLoggingUnit

void makeActionLogEntry (const string &pLogString1, const string &pLogString2, const unsigned int pLogEntryLevel) const
 write two2one-string-message into the ActionLoggingUnit

void makeActionLogEntry (const string &pLogString1, const string &pLogString2, const unsigned int pLogEntryLevel, bool pTwoLine) const
 write two2oneOrTwo-string-message into the ActionLoggingUnit

void makeActionLogEntry (const string &pLogString, const unsigned int pLogUInt, const unsigned int pLogEntryLevel) const
 write string-uint-2-one-string-message into the ActionLoggingUnit

void makeActionLogEntry (const string &pLogString, const int pLogInt, const unsigned int pLogEntryLevel) const
 write string-int-2-one-string-message into the ActionLoggingUnit

void makeWarnLogEntry (const string &pLogString, const unsigned int pLogEntryLevel) const
 write one-string-message into the ActionLoggingUnit

void makeWarnLogEntry (const string &pLogString1, const string &pLogString2, const unsigned int pLogEntryLevel) const
 write two2one-string-message into the ActionLoggingUnit

void makeWarnLogEntry (const string &pLogString1, const string &pLogString2, const unsigned int pLogEntryLevel, bool pTwoLine) const
 write two2oneOrTwo-string-message into the ActionLoggingUnit

void makeWarnLogEntry (const string &pLogString, const unsigned int pLogUInt, const unsigned int pLogEntryLevel) const
 write string-uint-2-one-string-message into the ActionLoggingUnit

void makeWarnLogEntry (const string &pLogString, const int pLogInt, const unsigned int pLogEntryLevel) const
 write string-int-2-one-string-message into the ActionLoggingUnit

void makeErrorLogEntry (const string &pLogString, const unsigned int pLogEntryLevel) const
 write one-string-message into the ActionLoggingUnit

void makeErrorLogEntry (const string &pLogString1, const string &pLogString2, const unsigned int pLogEntryLevel) const
 write two2one-string-message into the ActionLoggingUnit

void makeErrorLogEntry (const string &pLogString1, const string &pLogString2, const unsigned int pLogEntryLevel, bool pTwoLine) const
 write two2oneOrTwo-string-message into the ActionLoggingUnit

void makeErrorLogEntry (const string &pLogString, const unsigned int pLogUInt, const unsigned int pLogEntryLevel) const
 write string-uint-2-one-string-message into the ActionLoggingUnit

void makeErrorLogEntry (const string &pLogString, const int pLogInt, const unsigned int pLogEntryLevel) const
 write string-int-2-one-string-message into the ActionLoggingUnit


Detailed Description

class for managing action-, warn- and errorloggingmessages

instances of the class LoggingSuitcase owns three LoggingUnits, a LoggingUnit for Actionmessages, a LoggingUnit for Warnmessages and a LoggingUnit for Errormessages.

Definition at line 221 of file muo_logging.h.


Constructor & Destructor Documentation

LoggingSuitcase::LoggingSuitcase const unsigned int    pShowActionMessages,
const unsigned int    pShowErrorMessages
 

constructor for LoggingSuitcases without fileentries

Constructor for LoggingSuitcases beeing able to write messages onto the screen

Parameters:
pShowActionMessages  :- {SHOW_NM(=0),SHOW_SM(=1),SHOW_SMADM(=2),SHOW_SMADMAHM(=3)}
pShowErrorMessages  :- {SHOW_NM(=0),SHOW_SM(=1),SHOW_SMADM(=2),SHOW_SMADMAHM(=3)}

Definition at line 503 of file muo_logging.cc.

LoggingSuitcase::LoggingSuitcase const unsigned int    pShowActionMessages,
const unsigned int    pShowErrorMessages,
const string &    pLogDirPath,
const string &    pLogFileNameKernel,
bool    pUsesSharedLoggingFile
 

constructor for LoggingSuitcases without screenmessages

constructor for LoggingSuitcases beeing able to write messages into a logfile

Parameters:
pShowActionMessages  :- {SHOW_NM(=0),SHOW_SM(=1),SHOW_SMADM(=2),SHOW_SMADMAHM(=3)}
pShowErrorMessages  :- {SHOW_NM(=0),SHOW_SM(=1),SHOW_SMADM(=2),SHOW_SMADMAHM(=3)}
pLogDirPath  :- (absolute) path to the directory containing the logfilespLogF
pLogFileNameKernel  :- logfilenamekernel which can be expanded by _action.log etc.
pUsesSharedLoggingFile  :- { USE_SHARED_LOGFILE, USE_OWN_LOGFILE }

Definition at line 523 of file muo_logging.cc.

LoggingSuitcase::LoggingSuitcase const unsigned int    pShowActionMessages,
const unsigned int    pShowErrorMessages,
bool    pWithScreenMessages,
const string &    pLogDirPath,
const string &    pLogFileNameKernel,
bool    pUsesSharedLoggingFile
 

constructor for LoggingSuitcases with file- and screenmessages

LoggingSuitcase beeing able to write messages onto the screen and into a logfile

Parameters:
pShowActionMessages  :- {SHOW_NM(=0),SHOW_SM(=1),SHOW_SMADM(=2),SHOW_SMADMAHM(=3)}
pShowErrorMessages  :- {SHOW_NM(=0),SHOW_SM(=1),SHOW_SMADM(=2),SHOW_SMADMAHM(=3)}
pWithScreenMessages  :- { WITH_SCREEN_MESSAGES,WITHOUT_SCREEN_MESSAGES }
pLogDirPath  :- (absolute) path to the directory containing the logfilespLogF
pLogFileNameKernel  :- logfilenamekernel which can be expanded by _action.log etc.
pUsesSharedLoggingFile  :- { USE_SHARED_LOGFILE, USE_OWN_LOGFILE }

Definition at line 559 of file muo_logging.cc.


Member Function Documentation

void krmuo::LoggingSuitcase::turnOffScreenWriting   [inline]
 

set mScreen to Null

for sending no longer screenmessages

Definition at line 279 of file muo_logging.h.

References krmuo::LoggingUnit::turnOffScreenWriting().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 10:58:38 2003 for MRPROJEXT by doxygen1.2.17