小编Vin*_*ent的帖子

如何用pantheios登录到文件?

我尝试从pantheios的例子登录到文件但无法使其工作.消息在控制台中正确显示,但未创建日志文件.我尝试更改严重性级别,因为我看到了该线程,但没有人工作.

这是代码:

/* Pantheios Header Files */
#include <pantheios/pantheios.hpp>            // Pantheios C++ main header
#include <pantheios/inserters/args.hpp>       // for pantheios::args
#include <pantheios/inserters/exception.hpp>  // for pantheios::exception

#include <pantheios/backends/bec.file.h>      // be.file header

/* Standard C/C++ Header Files */
#include <exception>                          // for std::exception
#include <new>                                // for std::bad_alloc
#include <string>                             // for std::string
#include <stdlib.h>                           // for exit codes

/* ////////////////////////////////////////////////////////////////////// */

/* Define the stock front-end process identity, so that it links when using
* fe.N, fe.simple, etc. */
PANTHEIOS_EXTERN_C …
Run Code Online (Sandbox Code Playgroud)

c++ logging file visual-studio pantheios

5
推荐指数
1
解决办法
4496
查看次数

标签 统计

c++ ×1

file ×1

logging ×1

pantheios ×1

visual-studio ×1