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

#include <OstreamHandler.hpp>

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

Public Member Functions

 StdoutHandler (const std::string &name)
 
 StdoutHandler (const StdoutHandler &)=delete
 
 StdoutHandler (StdoutHandler &&)=delete
 
StdoutHandleroperator= (const StdoutHandler &)=delete
 
StdoutHandleroperator= (StdoutHandler &&)=delete
 
 ~StdoutHandler ()=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 30 of file OstreamHandler.hpp.

Constructor & Destructor Documentation

◆ StdoutHandler() [1/3]

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

Definition at line 19 of file OstreamHandler.cpp.

◆ StdoutHandler() [2/3]

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

◆ StdoutHandler() [3/3]

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

◆ ~StdoutHandler()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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