![]() |
Tacopie
3.0.0
Tacopie is a TCP Client & Server C++11 library.
|
#include <logger.hpp>
Public Types | |
| enum | log_level { error = 0, warn = 1, info = 2, debug = 3 } |
Public Member Functions | |
| logger (log_level level=log_level::info) | |
| ctor | |
| ~logger (void)=default | |
| dtor | |
| logger (const logger &)=default | |
| copy ctor | |
| logger & | operator= (const logger &)=default |
| assignment operator | |
| void | debug (const std::string &msg, const std::string &file, std::size_t line) |
| void | info (const std::string &msg, const std::string &file, std::size_t line) |
| void | warn (const std::string &msg, const std::string &file, std::size_t line) |
| void | error (const std::string &msg, const std::string &file, std::size_t line) |
Public Member Functions inherited from tacopie::logger_iface | |
| logger_iface (void)=default | |
| ctor | |
| virtual | ~logger_iface (void)=default |
| dtor | |
| logger_iface (const logger_iface &)=default | |
| copy ctor | |
| logger_iface & | operator= (const logger_iface &)=default |
| assignment operator | |
default logger class provided by the library
|
strong |
log level
|
virtual |
debug logging
| msg | message to be logged |
| file | file from which the message is coming |
| line | line in the file of the message |
Implements tacopie::logger_iface.
|
virtual |
error logging
| msg | message to be logged |
| file | file from which the message is coming |
| line | line in the file of the message |
Implements tacopie::logger_iface.
|
virtual |
info logging
| msg | message to be logged |
| file | file from which the message is coming |
| line | line in the file of the message |
Implements tacopie::logger_iface.
|
virtual |
warn logging
| msg | message to be logged |
| file | file from which the message is coming |
| line | line in the file of the message |
Implements tacopie::logger_iface.
1.8.13