/* *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)第一个动态库版本 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 */