No description
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Shell 64.5%
  • C 20.5%
  • CMake 13.4%
  • Makefile 1.6%
Find a file
2023-05-31 13:57:17 +08:00
ci TSG-9690: 适配Rocky Linux8.5 2022-03-01 13:35:24 +08:00
cmake TSG-9690: 适配Rocky Linux8.5 2022-03-01 13:35:24 +08:00
conf 🦄refactor(tmpfile): 2020-09-28 19:38:08 +08:00
demo 🐎 ci(test): 增加test stage 2023-05-31 13:57:17 +08:00
inc 🦄 refactor(MESA_HANDLE_RUNTIME_LOG): 按C99标准进行宏展开,展开前判断level是否enable 2023-05-31 12:07:14 +08:00
src ↩ revert(MESA_handle_logger.h): 接口回滚,句柄继续使用已有的void*定义 2023-05-31 11:26:49 +08:00
zlog feat(zlog): 升级zlog至1.2.16 2023-01-12 11:11:31 +08:00
.gitignore 🔧build(cmake/): 增加changelog,并调整version和changelog目录 2020-09-28 16:42:42 +08:00
.gitlab-ci.yml 🐎 ci(test): 增加test stage 2023-05-31 13:57:17 +08:00
autorelease.sh Update autorelease.sh 2019-07-15 11:17:40 +08:00
autorevision.sh 新增自动git版本号和打包脚本 2019-05-06 18:21:31 +08:00
CMakeLists.txt 🐎 ci(test): 增加test stage 2023-05-31 13:57:17 +08:00
Makefile 修复仅支持东八区时间的问题,使用localtime_r进行转换 2018-12-05 21:04:42 +06:00
README 为避免误操作,更新名称为libMESA_handle_logger2,ABI向前兼容,install后创建软连接至libMESA_handle_logger.so 2020-09-07 16:53:11 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
 *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
*/