C++ 日志系统 cclog

码农软件 · 软件分类 · 日志工具(Logging) · 2019-09-20 12:58:36

软件介绍

cclog 是简单的 C++ 日志系统,segmentation fault 等异常情况可以打印出函数调用栈信息。

API:

// @argv0  argv[0] or any valid string for a file name.
void init_cclog(const std::string& argv0);

// write all buffered logs to destination and stop the logging thread.
void StopLogging();

简单示例:

LOG << "hello" << ' ' << "world";
LOG_IF(1 + 1 == 2) << "1 + 1 = 2";
ELOG << L"hello again";
CHECK_EQ(1, 2) << "1 != 2";

本文地址:https://codercto.com/soft/d/15008.html

Numerical Methods and Methods of Approximation in Science and En

Numerical Methods and Methods of Approximation in Science and En

Karan Surana / CRC Press / 2018-10-31

ABOUT THIS BOOK Numerical Methods and Methods of Approximation in Science and Engineering prepares students and other readers for advanced studies involving applied numerical and computational anal......一起来看看 《Numerical Methods and Methods of Approximation in Science and En》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试