| cpp_redis 4.0.0 cpp_redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.

Classes | Namespaces | Macros | Functions | Variables
logger.hpp File Reference
`#include <memory>`
`#include <mutex>`
`#include <string>`

Go to the source code of this file.

## Classes
class | cpp_redis::logger_iface
class | cpp_redis::logger

## Namespaces
| cpp_redis

## Macros
#define | __CPP_REDIS_LOG(level, msg)

## Functions
void | cpp_redis::debug (const std::string &msg, const std::string &file, std::size_t line)
void | cpp_redis::info (const std::string &msg, const std::string &file, std::size_t line)
void | cpp_redis::warn (const std::string &msg, const std::string &file, std::size_t line)
void | cpp_redis::error (const std::string &msg, const std::string &file, std::size_t line)

## Variables
std::unique_ptr< logger_iface > | cpp_redis::active_logger

## Macro Definition Documentation

## ◆ __CPP_REDIS_LOG

#define __CPP_REDIS_LOG | ( |  | level,
|  |  | msg
| ) |  |

convenience macro to log with file and line information