FIX 4.0 Demo 1.0
Loading...
Searching...
No Matches
logger.hpp File Reference

线程安全的日志输出工具 More...

#include <mutex>
#include <sstream>
#include <unistd.h>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fix40::Logger
 线程安全的日志输出器(单例模式) More...
 
class  fix40::Logger::LogStream
 日志流对象,支持流式输出 More...
 

Namespaces

namespace  fix40
 

Macros

#define LOG()   fix40::Logger::instance().log()
 日志输出宏
 

Detailed Description

线程安全的日志输出工具

提供简洁的流式日志接口,确保多线程环境下日志输出的完整性。

Macro Definition Documentation

◆ LOG

#define LOG ( )    fix40::Logger::instance().log()

日志输出宏

使用方式:LOG() << "message" << value;