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.
6ae5d5ffa9abc449e103c82c2fc5ac1507e4e5b2
2、带pathvar初始化失败后,直接结束zlog,而不是跳转至error避免操作不存在的conf_file 3、创建句柄中的zlog_get_category失败后,返回句柄中zc为空,之后写入日志操作中判断zc,如果为null,直接返回,用于适配无rules即等效于关闭日志的场景
/* *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)first version 2014-04-16 modified by yw 1)strict inspection parameters, compatible with g++ 4.4.4 2014-05-29 update by yw 1)create directory is supported ------------------------------------------------------------------------------------- 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 */
Description
Languages
Shell
64.5%
C
20.5%
CMake
13.4%
Makefile
1.6%