Lugdunum  0.1.0
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
lug::System::Logger Namespace Reference

Namespaces

 priv
 

Classes

class  FileHandler
 
class  Formatter
 
class  Handler
 
class  LogCatHandler
 
class  Logger
 
class  LoggingFacility
 
class  OstreamHandler
 
class  StderrHandler
 
class  StdoutHandler
 

Typedefs

using FlagHandlerPointer = std::string(Formatter::*)(const std::tm *now)
 

Enumerations

enum  Level : uint8_t
 

Functions

std::ostream & operator<< (std::ostream &os, Level level)
 
template<typename T , typename... Args>
T * makeHandler (const std::string &handlerName, Args &&... args)
 

Variables

static std::unordered_map< std::string, std::unique_ptr< Logger > > loggers {}
 
static std::unordered_map< std::string, std::unique_ptr< Handler > > handlers {}
 

Typedef Documentation

◆ FlagHandlerPointer

using lug::System::Logger::FlagHandlerPointer = typedef std::string (Formatter::*)(const std::tm* now)

Definition at line 25 of file Formatter.hpp.

Enumeration Type Documentation

◆ Level

enum lug::System::Logger::Level : uint8_t
strong

Definition at line 35 of file Common.hpp.

Function Documentation

◆ operator<<()

std::ostream & lug::System::Logger::operator<< ( std::ostream &  os,
Level  level 
)

Definition at line 10 of file Logger.cpp.

◆ makeHandler()

template<typename T , typename... Args>
T* lug::System::Logger::makeHandler ( const std::string &  handlerName,
Args &&...  args 
)
inline

Definition at line 2 of file Handler.inl.

Variable Documentation

◆ loggers

std::unordered_map<std::string, std::unique_ptr<Logger> > lug::System::Logger::loggers {}
static

Definition at line 9 of file LoggingFacility.cpp.

◆ handlers

std::unordered_map<std::string, std::unique_ptr<Handler> > lug::System::Logger::handlers {}
static

Definition at line 10 of file LoggingFacility.cpp.