zl程序教程

您现在的位置是:首页 >  后端

当前栏目

【C++科学计算】基于dlib库实现高级日志记录

C++日志 实现 基于 记录 高级 科学计算 dlib
2023-09-14 09:14:30 时间

目录

1、高级日志记录

2、结果展示


1、高级日志记录

// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt

/*

    This is a somewhat complex example illustrating the use of the logger object
    from the dlib C++ Library.  It will demonstrate using multiple loggers and threads.


    The output of this program looks like this:
    0 INFO  [0] example: This is an informational message.
    0 WARN  [0] example: The variab