Lugdunum
0.1.0
|
#include <OstreamHandler.hpp>
Public Member Functions | |
OstreamHandler (const std::string &name, std::ostream &out) | |
OstreamHandler (const OstreamHandler &)=delete | |
OstreamHandler (OstreamHandler &&)=delete | |
OstreamHandler & | operator= (const OstreamHandler &)=delete |
OstreamHandler & | operator= (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 | |
Handler & | operator= (const Handler &)=delete |
Handler & | operator= (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 |
Private Attributes | |
std::ostream & | _os |
Additional Inherited Members | |
Protected Attributes inherited from lug::System::Logger::Handler | |
std::string | _name |
std::unique_ptr< Formatter > | _formatter |
Level | _level |
Definition at line 11 of file OstreamHandler.hpp.
lug::System::Logger::OstreamHandler::OstreamHandler | ( | const std::string & | name, |
std::ostream & | out | ||
) |
Definition at line 9 of file OstreamHandler.cpp.
|
delete |
|
delete |
|
virtualdefault |
|
delete |
|
delete |
|
finalvirtual |
Implements lug::System::Logger::Handler.
Definition at line 11 of file OstreamHandler.cpp.
|
finalvirtual |
Implements lug::System::Logger::Handler.
Definition at line 15 of file OstreamHandler.cpp.
|
private |
Definition at line 27 of file OstreamHandler.hpp.