Classes | Static Public Member Functions | Static Protected Member Functions | List of all members
Log Class Reference

Logging class. More...

#include <ionLogger.h>

Classes

class  Channel
 
class  Output
 
class  StandardOutput
 

Static Public Member Functions

template<typename... Args>
static void Info (char const *const Format, Args const &...args)
 
template<typename... Args>
static void Warn (char const *const Format, Args const &...args)
 
template<typename... Args>
static void Error (char const *const Format, Args const &...args)
 
template<typename... Args>
static void Write (ELogChannel const Channel, char const *const Format, Args const &...args)
 
static vector< string > const & GetMessages ()
 
static vector< string > const & GetMessages (ELogChannel const Which)
 
static vector< pair< string, int > > const & GetMessagesDetail (ELogChannel const Which)
 
static void AddOutput (ELogChannel const Which, Output *Out)
 
static void AddOutputToAllChannels (Output *Out)
 
static void AddDefaultOutputs ()
 
static void Clear ()
 

Static Protected Member Functions

static ChannelGetChannel (ELogChannel const Which)
 
static string GetChannelLabel (ELogChannel const Which)
 
static void WriteInternal (ELogChannel const Which, std::string const &Message)
 
static vector< string > & AllLoggedMessages ()
 

Detailed Description

Logging class.

Member Function Documentation

static void Log::AddDefaultOutputs ( )
inlinestatic
static void Log::AddOutput ( ELogChannel const  Which,
Output Out 
)
inlinestatic
static void Log::AddOutputToAllChannels ( Output Out)
inlinestatic
static vector<string>& Log::AllLoggedMessages ( )
inlinestaticprotected
static void Log::Clear ( )
inlinestatic
template<typename... Args>
static void Log::Error ( char const *const  Format,
Args const &...  args 
)
inlinestatic
static Channel& Log::GetChannel ( ELogChannel const  Which)
inlinestaticprotected
static string Log::GetChannelLabel ( ELogChannel const  Which)
inlinestaticprotected
static vector<string> const& Log::GetMessages ( )
inlinestatic
static vector<string> const& Log::GetMessages ( ELogChannel const  Which)
inlinestatic
static vector<pair<string, int> > const& Log::GetMessagesDetail ( ELogChannel const  Which)
inlinestatic
template<typename... Args>
static void Log::Info ( char const *const  Format,
Args const &...  args 
)
inlinestatic
template<typename... Args>
static void Log::Warn ( char const *const  Format,
Args const &...  args 
)
inlinestatic
template<typename... Args>
static void Log::Write ( ELogChannel const  Channel,
char const *const  Format,
Args const &...  args 
)
inlinestatic
static void Log::WriteInternal ( ELogChannel const  Which,
std::string const &  Message 
)
inlinestaticprotected

The documentation for this class was generated from the following file: