Hikyuu
命名空间 | 宏定义 | 枚举 | 函数
Log.h 文件参考
#include <string>
#include <spdlog/spdlog.h>
Log.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

 hku
 Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
 

宏定义

#define USE_SPDLOG_FOR_LOGGING   1
 
#define HKU_API
 
#define HKU_DEBUG(msg)
 
#define HKU_TRACE(msg)
 
#define HKU_INFO(msg)
 
#define HKU_WARN(msg)
 
#define HKU_ERROR(msg)
 
#define HKU_FATAL(msg)
 

枚举

函数

void hku::init_logger (const std::string &configue_name)
 初始化 LOGGER 更多...
 
LOG_LEVEL hku::get_log_level ()
 获取当前日志级别 更多...
 
void hku::set_log_level (LOG_LEVEL)
 设置日志级别 更多...
 

宏定义说明

#define HKU_API
#define HKU_DEBUG (   msg)
值:
std::stringstream buf (std::stringstream::out); \
buf << msg;\
spdlog::get("hikyuu")->debug(buf.str().c_str());}
Definition: Log.h:38
LOG_LEVEL get_log_level()
获取当前日志级别
Definition: Log.cpp:25
#define HKU_ERROR (   msg)
值:
std::stringstream buf (std::stringstream::out); \
buf << msg;\
spdlog::get("hikyuu")->error(buf.str().c_str());}
LOG_LEVEL get_log_level()
获取当前日志级别
Definition: Log.cpp:25
Definition: Log.h:42
#define HKU_FATAL (   msg)
值:
std::stringstream buf (std::stringstream::out); \
buf << msg;\
spdlog::get("hikyuu")->critical(buf.str().c_str());}
LOG_LEVEL get_log_level()
获取当前日志级别
Definition: Log.cpp:25
Definition: Log.h:43
#define HKU_INFO (   msg)
值:
std::stringstream buf (std::stringstream::out); \
buf << msg;\
spdlog::get("hikyuu")->info(buf.str().c_str());}
LOG_LEVEL get_log_level()
获取当前日志级别
Definition: Log.cpp:25
Definition: Log.h:40
#define HKU_TRACE (   msg)
值:
std::stringstream buf (std::stringstream::out); \
buf << msg;\
spdlog::get("hikyuu")->trace(buf.str().c_str());}
LOG_LEVEL get_log_level()
获取当前日志级别
Definition: Log.cpp:25
Definition: Log.h:39
#define HKU_WARN (   msg)
值:
std::stringstream buf (std::stringstream::out); \
buf << msg;\
spdlog::get("hikyuu")->warn(buf.str().c_str());}
LOG_LEVEL get_log_level()
获取当前日志级别
Definition: Log.cpp:25
Definition: Log.h:41
#define USE_SPDLOG_FOR_LOGGING   1