blob: 8dd9cf5b7d0a28f5c258a22e1fcaec2107accb16 (
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
37
38
39
|
/*
*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至文件
2020-09-07 update to libMESA_handle_logger2 by yw
1)内部使用zlog实现,行为变更,更新库为libMESA_handle_logger2
-------------------------------------------------------------------------------------
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
*/
|