Lugdunum  0.1.0
Public Member Functions | List of all members
lug::System::Logger::StderrHandler Class Reference

#include <OstreamHandler.hpp>

Inheritance diagram for lug::System::Logger::StderrHandler:
[legend]
Collaboration diagram for lug::System::Logger::StderrHandler:
[legend]

Public Member Functions

 StderrHandler (const std::string &name)
 
 StderrHandler (const StderrHandler &)=delete
 
 StderrHandler (StderrHandler &&)=delete
 
StderrHandleroperator= (const StderrHandler &)=delete
 
StderrHandleroperator= (StderrHandler &&)=delete
 
 ~StderrHandler ()=default
 
- Public Member Functions inherited from lug::System::Logger::OstreamHandler
 OstreamHandler (const std::string &name, std::ostream &out)
 
 OstreamHandler (const OstreamHandler &)=delete
 
 OstreamHandler (OstreamHandler &&)=delete
 
OstreamHandleroperator= (const OstreamHandler &)=delete
 
OstreamHandleroperator= (OstreamHandler &&)=delete
 
virtual ~OstreamHandler ()=default
 
void handle (const priv::Message &msg) final
 
void flush () final
 
- Public Member Functions inherited from lug::System::Logger::Handler
 Handler (const std::string &name)
 
 Handler (const Handler &)=delete
 
 Handler (Handler &&)=delete
 
Handleroperator= (const Handler &)=delete
 
Handleroperator= (Handler &&)=delete
 
virtual ~Handler ()=default
 
void setFormatter (std::unique_ptr< Formatter > formatter)
 
void setPattern (const std::string &pattern)
 
void format (priv::Message &msg)
 
bool shouldLog (Level level) const
 
void setLevel (Level level)
 
Level getLevel () const
 

Additional Inherited Members

- Protected Attributes inherited from lug::System::Logger::Handler
std::string _name
 
std::unique_ptr< Formatter_formatter
 
Level _level
 

Detailed Description

Definition at line 43 of file OstreamHandler.hpp.

Constructor & Destructor Documentation

◆ StderrHandler() [1/3]

lug::System::Logger::StderrHandler::StderrHandler ( const std::string &  name)

Definition at line 20 of file OstreamHandler.cpp.

◆ StderrHandler() [2/3]

lug::System::Logger::StderrHandler::StderrHandler ( const StderrHandler )
delete

◆ StderrHandler() [3/3]

lug::System::Logger::StderrHandler::StderrHandler ( StderrHandler &&  )
delete

◆ ~StderrHandler()

lug::System::Logger::StderrHandler::~StderrHandler ( )
default

Member Function Documentation

◆ operator=() [1/2]

StderrHandler& lug::System::Logger::StderrHandler::operator= ( const StderrHandler )
delete

◆ operator=() [2/2]

StderrHandler& lug::System::Logger::StderrHandler::operator= ( StderrHandler &&  )
delete

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