Status logger, provides automatic recording of messages to session log. More...
#include <mi32/mistatus.h>

Public Member Functions | |
| MISTATUSLOGGER () | |
| virtual | ~MISTATUSLOGGER () |
| void | SetLogDisabled () |
| void | SetLogEnabled () |
Protected Member Functions | |
| virtual void | v_ReportBegin (MISTATUSCONTEXT &context, const MISTRING &msgstr) |
| virtual void | v_ReportEnd (MISTATUSCONTEXT &context, const MISTRING &msgstr, const MISTRING &timerstr) |
| virtual void | v_ReportMessage (MISTATUSCONTEXT &context, const MISTRING &msgstr) |
Status logger, provides automatic recording of messages to session log.
| MISTATUSLOGGER::MISTATUSLOGGER | ( | ) |
Default constructor.
| virtual MISTATUSLOGGER::~MISTATUSLOGGER | ( | ) | [virtual] |
Destructor.
| void MISTATUSLOGGER::SetLogDisabled | ( | ) | [inline] |
Disable logging Each call must be matched by call to SetLogEnabled to re-enable logging.
| void MISTATUSLOGGER::SetLogEnabled | ( | ) | [inline] |
Enable logging.
| virtual void MISTATUSLOGGER::v_ReportBegin | ( | MISTATUSCONTEXT & | context, | |
| const MISTRING & | msgstr | |||
| ) | [protected, virtual] |
Report task beginning.
Default implementation calls ReportMessage and logs message. Derived class should call base implementation to do logging.
Reimplemented from MISTATUSMANAGER.
| virtual void MISTATUSLOGGER::v_ReportEnd | ( | MISTATUSCONTEXT & | context, | |
| const MISTRING & | msgstr, | |||
| const MISTRING & | timerstr | |||
| ) | [protected, virtual] |
Report that task is ending.
Formats strings together and logs. Derived class should call base implementation to do logging.
Reimplemented from MISTATUSMANAGER.
| virtual void MISTATUSLOGGER::v_ReportMessage | ( | MISTATUSCONTEXT & | context, | |
| const MISTRING & | msgstr | |||
| ) | [protected, virtual] |
Report message.
Derived class should call base implementation to do logging.
Reimplemented from MISTATUSMANAGER.
1.6.1