现代记录仪
C ++中的现代记录器
建立先决条件
与C ++ 17兼容的编译器。
氧气(可选)。
注意:Google测试框架将自动安装。
建立步骤
GNU / Linux
cd modern_logger
mkdir build
cmake .. -G "Unix Makefiles"
make
视窗
cd modern_logger
mkdir build
cmake .. -G "Visual Studio 16 2019"
Open modern_logger.sln fi
控制台主机
允许颜色并向控制台日志添加正确的时间格式
console-master是节点模块控制台记录器,它支持Refloow为OSL-works Github项目构建的颜色和正确的时间格式。
安装
从安装:
$ npm install console-master
用法示例
// Import module
// Import the module under the name that you like, in the example Console with capital C is u