HoverRace  2.0
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
Log.h File Reference
#include <boost/log/trivial.hpp>
+ Include dependency graph for Log.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HoverRace::Util::Log::Entry
 

Namespaces

 HoverRace
 
 HoverRace::Util
 
 HoverRace::Util::Log
 
 HoverRace::Util::Log::detail
 

Macros

#define HR_LOG(lvl)   BOOST_LOG_TRIVIAL(lvl)
 Alias for BOOST_LOG_TRIVIAL. More...
 
#define MR_DllDeclare
 

Typedefs

using HoverRace::Util::Log::logAdded_t = boost::signals2::signal< void(const Entry &)>
 

Enumerations

enum  HoverRace::Util::Log::Level {
  HoverRace::Util::Log::Level::TRACE = boost::log::trivial::trace, HoverRace::Util::Log::Level::DEBUG = boost::log::trivial::debug, HoverRace::Util::Log::Level::INFO = boost::log::trivial::info, HoverRace::Util::Log::Level::WARN = boost::log::trivial::warning,
  HoverRace::Util::Log::Level::ERROR = boost::log::trivial::error, HoverRace::Util::Log::Level::FATAL = boost::log::trivial::fatal
}
 

Functions

void HoverRace::Util::Log::Debug (const char *fmt,...)
 
void HoverRace::Util::Log::Error (const char *fmt,...)
 
void HoverRace::Util::Log::Fatal (const char *fmt,...)
 
std::string HoverRace::Util::Log::detail::Fmt (const char *fmt, va_list ap)
 
void HoverRace::Util::Log::Info (const char *fmt,...)
 
void HoverRace::Util::Log::Init (bool verboseLog)
 Initialize the system log. More...
 
void HoverRace::Util::Log::Warn (const char *fmt,...)
 

Variables

const size_t HoverRace::Util::Log::detail::MAX_LOG = 512
 The maximum length of a vararg log. More...
 

Macro Definition Documentation

#define HR_LOG (   lvl)    BOOST_LOG_TRIVIAL(lvl)

Alias for BOOST_LOG_TRIVIAL.

#define MR_DllDeclare