xmscore  1.0
xmlog Namespace Reference

Enumerations

enum  MessageTypeEnum { info, warning, error, debug }
 Log level for XM_LOG. More...
 

Functions

template<typename CharT , typename TraitsT >
std::basic_ostream< CharT, TraitsT > & operator<< (std::basic_ostream< CharT, TraitsT > &strm, xmlog::MessageTypeEnum lvl)
 Formatting Logic for Severity. More...
 

Detailed Description

Severity Details

Info Informational message Warning Non-critical warning message Error Critical error message Debug Details of internal operation

Enumeration Type Documentation

◆ MessageTypeEnum

Log level for XM_LOG.

Enumerator
info 

Informational message for the user.

warning 

Warning message for the user.

error 

Critical error message for the user.

debug 

Details of internal operation.

Definition at line 78 of file XmLog.h.

Function Documentation

◆ operator<<()

template<typename CharT , typename TraitsT >
std::basic_ostream<CharT, TraitsT>& xmlog::operator<< ( std::basic_ostream< CharT, TraitsT > &  strm,
xmlog::MessageTypeEnum  lvl 
)
inline

Formatting Logic for Severity.

Parameters
strmostream
lvlmessage type enum.
Returns
ostream.

Definition at line 76 of file XmLog.cpp.