#include <logger.hpp>
logger_iface should be inherited by any class intended to be used for logging
◆ logger_iface() [1/2]
cpp_redis::logger_iface::logger_iface |
( |
void |
| ) |
|
|
default |
◆ ~logger_iface()
virtual cpp_redis::logger_iface::~logger_iface |
( |
void |
| ) |
|
|
virtualdefault |
◆ logger_iface() [2/2]
cpp_redis::logger_iface::logger_iface |
( |
const logger_iface & |
| ) |
|
|
default |
◆ debug()
virtual void cpp_redis::logger_iface::debug |
( |
const std::string & |
msg, |
|
|
const std::string & |
file, |
|
|
std::size_t |
line |
|
) |
| |
|
pure virtual |
debug logging
- Parameters
-
msg | message to be logged |
file | file from which the message is coming |
line | line in the file of the message |
Implemented in cpp_redis::logger.
◆ error()
virtual void cpp_redis::logger_iface::error |
( |
const std::string & |
msg, |
|
|
const std::string & |
file, |
|
|
std::size_t |
line |
|
) |
| |
|
pure virtual |
error logging
- Parameters
-
msg | message to be logged |
file | file from which the message is coming |
line | line in the file of the message |
Implemented in cpp_redis::logger.
◆ info()
virtual void cpp_redis::logger_iface::info |
( |
const std::string & |
msg, |
|
|
const std::string & |
file, |
|
|
std::size_t |
line |
|
) |
| |
|
pure virtual |
info logging
- Parameters
-
msg | message to be logged |
file | file from which the message is coming |
line | line in the file of the message |
Implemented in cpp_redis::logger.
◆ operator=()
◆ warn()
virtual void cpp_redis::logger_iface::warn |
( |
const std::string & |
msg, |
|
|
const std::string & |
file, |
|
|
std::size_t |
line |
|
) |
| |
|
pure virtual |
warn logging
- Parameters
-
msg | message to be logged |
file | file from which the message is coming |
line | line in the file of the message |
Implemented in cpp_redis::logger.
The documentation for this class was generated from the following file: