LIPH's C++ Codes
logging.h File Reference
#include <atomic>
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <thread>
#include <vector>
#include "liph/format.h"
#include "liph/lang/noncopyable.h"
#include "liph/lang/singleton.h"
#include "liph/time.h"

Go to the source code of this file.

Classes

class  liph::logger
 
class  liph::log_message
 

Namespaces

namespace  liph
 

Macros

#define __FILENAME__   ((strrchr(__FILE__, '/') ?: __FILE__ - 1) + 1)
 
#define LOG   liph::log_message(__FILENAME__, __LINE__).stream()
 

Macro Definition Documentation

◆ __FILENAME__

#define __FILENAME__   ((strrchr(__FILE__, '/') ?: __FILE__ - 1) + 1)

◆ LOG

#define LOG   liph::log_message(__FILENAME__, __LINE__).stream()