Tacopie  3.0.0
Tacopie is a TCP Client & Server C++11 library.
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  tacopie::logger_iface
 
class  tacopie::logger
 

Namespaces

 tacopie
 

Macros

#define __TACOPIE_LOG(level, msg)
 

Functions

void tacopie::debug (const std::string &msg, const std::string &file, std::size_t line)
 
void tacopie::info (const std::string &msg, const std::string &file, std::size_t line)
 
void tacopie::warn (const std::string &msg, const std::string &file, std::size_t line)
 
void tacopie::error (const std::string &msg, const std::string &file, std::size_t line)
 

Variables

std::unique_ptr< logger_iface > tacopie::active_logger
 

Macro Definition Documentation

◆ __TACOPIE_LOG

#define __TACOPIE_LOG (   level,
  msg 
)

convenience macro to log with file and line information