Matrix Science header
Public Member Functions

ms_stdout_logger Class Reference
[Shared classes for handling errors and warnings in Mascot Parser modules]

Concrete class which implements ms_logger and outputs log text to standard out. More...

#include <ms_logging.hpp>

Inheritance diagram for ms_stdout_logger:
Inheritance graph
[legend]
Collaboration diagram for ms_stdout_logger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ms_stdout_logger ()
 Constructor.
virtual ~ms_stdout_logger ()
 Destructor.
virtual void onLogMessage (ms_loggingmonitor::Level_e eSeverity, ms_loggingmonitor::Source_e eSource, long lMsgId, const std::string &text, long lContextId=0)
 Logs the passed message directly to standard out.

Detailed Description

Concrete class which implements ms_logger and outputs log text to standard out.


Member Function Documentation

void onLogMessage ( ms_loggingmonitor::Level_e  eSeverity,
ms_loggingmonitor::Source_e  eSource,
long  lMsgId,
const std::string &  text,
long  lContextId = 0 
) [virtual]

Logs the passed message directly to standard out.

Parameters:
eSeveritythe severity level of the message
eSourcethe source of the message
lMsgIdthe message id or error code
textthe message text
lContextIdthe contextid of the message (from MDRO)

Implements ms_logger.


The documentation for this class was generated from the following files:
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:54