This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

40 lines
867 B
Plaintext
Raw Permalink Normal View History

2018-11-15 17:10:05 +08:00
/*
*NAME:MESA_handle_logger
*INTRODUCTION:Based on logger and thread_safe, provide runtime_log function with independent handle for different users.
*Author:yangwei@iie.ac.cn
*History:
2014-03-24 created by yw
1)第一个动态库版本
2018-11-15 17:10:05 +08:00
2014-04-16 modified by yw
1) 支持g++ 4.4.4编译
2018-11-15 17:10:05 +08:00
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
2018-11-15 17:10:05 +08:00
-------------------------------------------------------------------------------------
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
*/