文件名称:SaveLogFile
介绍说明--下载内容均来自于网络,请自行研究使用
日志打印类
必须声明对象为全局对象,且只能有一个对象。(多对象会在日后改进)
主要功能:
1、在指定目录下生成带日期通配符的日志文件。
2、可设置日志大小,超过大小可分成子日志。
3、WriteData函数可像CString的format一样操作。
4、程序在崩溃时可打印崩溃代码,以及崩溃时的堆栈信息。-Log Print category
Object must be declared as global objects, and only one object. (Multi-object improvements in the future)
Main features:
1, the date in the specified directory with wildcard log file generation.
2, you can set the log size exceeds the size can be divided into sub-logs.
3, WriteData functions can operate the same as the CString format.
4, the program crashes during a crash can be printed code, and stack information when it crashed.
必须声明对象为全局对象,且只能有一个对象。(多对象会在日后改进)
主要功能:
1、在指定目录下生成带日期通配符的日志文件。
2、可设置日志大小,超过大小可分成子日志。
3、WriteData函数可像CString的format一样操作。
4、程序在崩溃时可打印崩溃代码,以及崩溃时的堆栈信息。-Log Print category
Object must be declared as global objects, and only one object. (Multi-object improvements in the future)
Main features:
1, the date in the specified directory with wildcard log file generation.
2, you can set the log size exceeds the size can be divided into sub-logs.
3, WriteData functions can operate the same as the CString format.
4, the program crashes during a crash can be printed code, and stack information when it crashed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SaveLogFile.h
SaveLogFile.cpp