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

Logging class. More...

#include <ionLogger.h>

Classes

class  Channel
 
class  Output
 
class  StandardOutput
 
class  WindowsLogOutput
 

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

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

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