Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/157.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ spdlog问题:有没有办法不输出时间戳?_C++_Logging_Timestamp_Spdlog - Fatal编程技术网

C++ spdlog问题:有没有办法不输出时间戳?

C++ spdlog问题:有没有办法不输出时间戳?,c++,logging,timestamp,spdlog,C++,Logging,Timestamp,Spdlog,我的用例是只使用spdlog作为序列化库。例如我想输出json数据,但时间戳与json一起使用,使其成为无效的json语法。当然,我以后可以通过编程方式删除时间戳,但我想知道SPDLOG是否提供了一种跳过时间戳的方法。可能使用它们的?可能使用它们的?

我的用例是只使用spdlog作为序列化库。例如我想输出json数据,但时间戳与json一起使用,使其成为无效的json语法。当然,我以后可以通过编程方式删除时间戳,但我想知道SPDLOG是否提供了一种跳过时间戳的方法。

可能使用它们的?可能使用它们的?