xmscore  1.0
XmLog.cpp File Reference

Routines for creating and writing to logs and stacking errors. More...

#include <xmscore/misc/XmLog.h>
#include <fstream>
#include <sstream>
#include <boost/filesystem.hpp>
#include <boost/log/attributes.hpp>
#include <boost/log/core/core.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sources/global_logger_storage.hpp>
#include <boost/log/sinks/sync_frontend.hpp>
#include <boost/log/sinks/text_ostream_backend.hpp>
#include <boost/log/sources/record_ostream.hpp>
#include <boost/log/sources/severity_logger.hpp>
#include <boost/log/support/date_time.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/utility/manipulators/add_value.hpp>
#include <xmscore/testing/TestTools.h>
#include <xmscore/misc/XmLog.t.h>

Go to the source code of this file.

Classes

class  xms::XmLog::Impl
 implementation of XmLog More...
 

Namespaces

 xmlog
 

Functions

template<typename CharT , typename TraitsT >
std::basic_ostream< CharT, TraitsT > & xmlog::operator<< (std::basic_ostream< CharT, TraitsT > &strm, xmlog::MessageTypeEnum lvl)
 Formatting Logic for Severity. More...
 
 xms::BOOST_LOG_INLINE_GLOBAL_LOGGER_INIT (xms_global_log, boost::log::sources::severity_logger_mt< xmlog::MessageTypeEnum >)
 Used for convenience to declare a global log object.
 
void xms::iTest_XM_LOG_debug ()
 Run debug log test.
 
void xms::iTest_XM_LOG_stackable ()
 Run stackable log test.
 
void xms::iTest_XM_LOG_gui ()
 Run GUI log test.
 

Variables

static XmLogFilenameCallback xms::fg_logFilenameCallback
 Callback to return the name of the log file.
 

Detailed Description

Routines for creating and writing to logs and stacking errors.

Definition in file XmLog.cpp.