blob: 1d2d219e3b0d8c24c96bc3aef3bd1dfcba473c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
*NAME:MESA_handle_logger
*INTRODUCTION:Based on logger and thread_safe, provide runtime_log function with independent handle for different users.
*Author:[email protected]
*History:
2014-03-24 created by yw
1)第一个动态库版本
2014-04-16 modified by yw
1) 支持g++ 4.4.4编译
2014-05-29 update by yw
1)支持创建用户指定的日志目录
2019-2-18 update by yw
1)性能优化,句柄中存储文件fp,定期flush至文件
-------------------------------------------------------------------------------------
NOTICE:
1)compatible with g++, extern with c;
2)thread_safe IS supported;
3)DO destroy handle process before exit.
4)demo requires lpthread support
*/
|