文件名称:zlog-latest-stable.tar
介绍说明--下载内容来自于网络,使用问题请自行百度
zlog是一个高可靠性、性能、线程安全、灵活、概念清晰的纯C日志函数库。
事实上,在C的世界里面没有特别好的日志函数库(就像JAVA里面的的log4j,或者C++的
log4cxx)。C程序员都喜欢用自己的轮子。printf就是个挺好的轮子,但没办法通过配置改变
日志的格式或者输出文件。syslog是个系统级别的轮子,不过速度慢,而且功能比较单调。
所以我写了zlog。
zlog在效率、功能、安全性上大大超过了log4c,并且是用c写成的,具有比较好的通用性。
zlog有这些特性:
. syslog分类模型,比log4j模型更加直接了当
. 日志格式定制,类似于log4j的pattern layout
. 多种输出,包括动态文件、静态文件、stdout、stderr、syslog、用户自定义输出函数
. 运行时手动、自动刷新配置文件(同时保证安全)
. 高性能,在我的笔记本上达到72 000条日志每秒, 大概是syslog(3)配合rsyslogd的200倍
速度
. 用户自定义等级
. 多线程和多进程环境下保证安全转档
. 精确到微秒
. 简单调用包装dzlog(一个程序默认只用一个分类)
. MDC,线程键-值对的表,可以扩展用户自定义的字段
. 自诊断,可以在运行时输出zlog自己的日志和配置状态
. 不依赖其他库,只要是个POSIX系统就成(当然还要一个C99兼容的vsnprintf)zlog is a reliable, high ecent, thread safe,
exsible, clear model, pure c logging
library
Actually, in the c world there is NO good logging library for application like
logback in java or log4cxx in c++. printf can work, but can not be easily redirected
or reformat, syslog is slow and is designed for system use.
So I write zlog.
It is faster, safer and more powerful than log4c. So it can be widely used.
zlog has feartures below:
syslog model, better than log4j model
log format customization
multiple output, include static le path, dynamic le path, stdout, stderr,
syslog, user-dened ouput
runtime mannully or automaticlly refreash congure(safely)
high ecieny, about 200 times faster than syslog(3) with rsyslogd
user-dened log level
safely rotate log le on multiple-process or multiple-threads condition
accurate to microseconds
dzlog, a default category log API for easy use
MDC, a log4j style key-value map-zlog is a reliable, high ecent, thread safe,
exsible, clear model, pure c logging
library
Actually, in the c world there is NO good logging library for application like
logback in java or log4cxx in c++. printf can work, but can not be easily redirected
or reformat, syslog is slow and is designed for system use.
So I write zlog.
It is faster, safer and more powerful than log4c. So it can be widely used.
zlog has feartures below:
syslog model, better than log4j model
log format customization
multiple output, include static le path, dynamic le path, stdout, stderr,
syslog, user-dened ouput
runtime mannully or automaticlly refreash congure(safely)
high ecieny, about 200 times faster than syslog(3) with rsyslogd
user-dened log level
safely rotate log le on multiple-process or multiple-threads condition
accurate to microseconds
dzlog, a default category log API for easy use
MDC, a log4j style key-value map
事实上,在C的世界里面没有特别好的日志函数库(就像JAVA里面的的log4j,或者C++的
log4cxx)。C程序员都喜欢用自己的轮子。printf就是个挺好的轮子,但没办法通过配置改变
日志的格式或者输出文件。syslog是个系统级别的轮子,不过速度慢,而且功能比较单调。
所以我写了zlog。
zlog在效率、功能、安全性上大大超过了log4c,并且是用c写成的,具有比较好的通用性。
zlog有这些特性:
. syslog分类模型,比log4j模型更加直接了当
. 日志格式定制,类似于log4j的pattern layout
. 多种输出,包括动态文件、静态文件、stdout、stderr、syslog、用户自定义输出函数
. 运行时手动、自动刷新配置文件(同时保证安全)
. 高性能,在我的笔记本上达到72 000条日志每秒, 大概是syslog(3)配合rsyslogd的200倍
速度
. 用户自定义等级
. 多线程和多进程环境下保证安全转档
. 精确到微秒
. 简单调用包装dzlog(一个程序默认只用一个分类)
. MDC,线程键-值对的表,可以扩展用户自定义的字段
. 自诊断,可以在运行时输出zlog自己的日志和配置状态
. 不依赖其他库,只要是个POSIX系统就成(当然还要一个C99兼容的vsnprintf)zlog is a reliable, high ecent, thread safe,
exsible, clear model, pure c logging
library
Actually, in the c world there is NO good logging library for application like
logback in java or log4cxx in c++. printf can work, but can not be easily redirected
or reformat, syslog is slow and is designed for system use.
So I write zlog.
It is faster, safer and more powerful than log4c. So it can be widely used.
zlog has feartures below:
syslog model, better than log4j model
log format customization
multiple output, include static le path, dynamic le path, stdout, stderr,
syslog, user-dened ouput
runtime mannully or automaticlly refreash congure(safely)
high ecieny, about 200 times faster than syslog(3) with rsyslogd
user-dened log level
safely rotate log le on multiple-process or multiple-threads condition
accurate to microseconds
dzlog, a default category log API for easy use
MDC, a log4j style key-value map-zlog is a reliable, high ecent, thread safe,
exsible, clear model, pure c logging
library
Actually, in the c world there is NO good logging library for application like
logback in java or log4cxx in c++. printf can work, but can not be easily redirected
or reformat, syslog is slow and is designed for system use.
So I write zlog.
It is faster, safer and more powerful than log4c. So it can be widely used.
zlog has feartures below:
syslog model, better than log4j model
log format customization
multiple output, include static le path, dynamic le path, stdout, stderr,
syslog, user-dened ouput
runtime mannully or automaticlly refreash congure(safely)
high ecieny, about 200 times faster than syslog(3) with rsyslogd
user-dened log level
safely rotate log le on multiple-process or multiple-threads condition
accurate to microseconds
dzlog, a default category log API for easy use
MDC, a log4j style key-value map
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zlog-1.0.6/
zlog-1.0.6/Makefile.in
zlog-1.0.6/Makefile.am
zlog-1.0.6/doc/
zlog-1.0.6/doc/GettingStart-EN.txt
zlog-1.0.6/doc/Makefile.in
zlog-1.0.6/doc/Makefile.am
zlog-1.0.6/doc/GettingStart-CN.txt
zlog-1.0.6/doc/UsersGuide-EN.pdf
zlog-1.0.6/doc/UsersGuide-CN.lyx
zlog-1.0.6/doc/UsersGuide-CN.pdf
zlog-1.0.6/doc/UsersGuide-EN.lyx
zlog-1.0.6/autogen.sh
zlog-1.0.6/depcomp
zlog-1.0.6/configure
zlog-1.0.6/INSTALL
zlog-1.0.6/AUTHORS
zlog-1.0.6/config.guess
zlog-1.0.6/ltmain.sh
zlog-1.0.6/config.sub
zlog-1.0.6/install-sh
zlog-1.0.6/zlog.pc.in
zlog-1.0.6/configure.ac
zlog-1.0.6/compile
zlog-1.0.6/COPYING
zlog-1.0.6/README
zlog-1.0.6/config.h.in
zlog-1.0.6/aclocal.m4
zlog-1.0.6/libzlog/
zlog-1.0.6/libzlog/zc_profile.h
zlog-1.0.6/libzlog/format.h
zlog-1.0.6/libzlog/Makefile.in
zlog-1.0.6/libzlog/spec.h
zlog-1.0.6/libzlog/Makefile.am
zlog-1.0.6/libzlog/buf.h
zlog-1.0.6/libzlog/level.c
zlog-1.0.6/libzlog/level.h
zlog-1.0.6/libzlog/mdc.c
zlog-1.0.6/libzlog/zc_hashtable.c
zlog-1.0.6/libzlog/conf.h
zlog-1.0.6/libzlog/thread_table.c
zlog-1.0.6/libzlog/record.h
zlog-1.0.6/libzlog/conf.c
zlog-1.0.6/libzlog/buf.c
zlog-1.0.6/libzlog/category_table.h
zlog-1.0.6/libzlog/category.c
zlog-1.0.6/libzlog/zc_xplatform.h
zlog-1.0.6/libzlog/zc_defs.h
zlog-1.0.6/libzlog/event.h
zlog-1.0.6/libzlog/category_table.c
zlog-1.0.6/libzlog/rule.h
zlog-1.0.6/libzlog/zc_hashtable.h
zlog-1.0.6/libzlog/category.h
zlog-1.0.6/libzlog/record_table.h
zlog-1.0.6/libzlog/format.c
zlog-1.0.6/libzlog/zlog.c
zlog-1.0.6/libzlog/level_list.h
zlog-1.0.6/libzlog/record.c
zlog-1.0.6/libzlog/zc_arraylist.c
zlog-1.0.6/libzlog/thread.h
zlog-1.0.6/libzlog/zc_arraylist.h
zlog-1.0.6/libzlog/zlog.h
zlog-1.0.6/libzlog/zc_xplatform.c
zlog-1.0.6/libzlog/zc_util.h
zlog-1.0.6/libzlog/zc_util.c
zlog-1.0.6/libzlog/rotater.c
zlog-1.0.6/libzlog/zc_profile.c
zlog-1.0.6/libzlog/mdc.h
zlog-1.0.6/libzlog/rotater.h
zlog-1.0.6/libzlog/record_table.c
zlog-1.0.6/libzlog/event.c
zlog-1.0.6/libzlog/thread.c
zlog-1.0.6/libzlog/spec.c
zlog-1.0.6/libzlog/rule.c
zlog-1.0.6/libzlog/level_list.c
zlog-1.0.6/libzlog/thread_table.h
zlog-1.0.6/COPYING.LESSER
zlog-1.0.6/missing
zlog-1.0.6/test/
zlog-1.0.6/test/Makefile.in
zlog-1.0.6/test/test_syslog.conf
zlog-1.0.6/test/Makefile.am
zlog-1.0.6/test/test_press_zlog.conf
zlog-1.0.6/test/test_level.c
zlog-1.0.6/test/test_syslog.c
zlog-1.0.6/test/test_init.c
zlog-1.0.6/test/test_hello.conf
zlog-1.0.6/test/test_mdc.conf
zlog-1.0.6/test/test_profile.c
zlog-1.0.6/test/test_leak.c
zlog-1.0.6/test/test_init.conf
zlog-1.0.6/test/test_default.conf
zlog-1.0.6/test/test_press_printf.c
zlog-1.0.6/test/test_press_zlog2.c
zlog-1.0.6/test/test_press_zlog2.conf
zlog-1.0.6/test/test_record.c
zlog-1.0.6/test/test_press_zlog.c
zlog-1.0.6/test/test_conf.conf
zlog-1.0.6/test/test_hashtable.c
zlog-1.0.6/test/test_conf.c
zlog-1.0.6/test/test_press_syslog.c
zlog-1.0.6/test/test_filemv.c
zlog-1.0.6/test/test_level.conf
zlog-1.0.6/test/test_buf.c
zlog-1.0.6/test/test_level.h
zlog-1.0.6/test/test_hex.c
zlog-1.0.6/test/test_default.c
zlog-1.0.6/test/test_profile.conf
zlog-1.0.6/test/test_mdc.c
zlog-1.0.6/test/test_tmp.c
zlog-1.0.6/test/test_hex.conf
zlog-1.0.6/test/test_press_printf2.c
zlog-1.0.6/test/test_hello.c
zlog-1.0.6/tools/
zlog-1.0.6/tools/Makefile.in
zlog-1.0.6/tools/Makefile.am
zlog-1.0.6/tools/zlog-chk-conf.c
zlog-1.0.6/TODO
zlog-1.0.6/Makefile.in
zlog-1.0.6/Makefile.am
zlog-1.0.6/doc/
zlog-1.0.6/doc/GettingStart-EN.txt
zlog-1.0.6/doc/Makefile.in
zlog-1.0.6/doc/Makefile.am
zlog-1.0.6/doc/GettingStart-CN.txt
zlog-1.0.6/doc/UsersGuide-EN.pdf
zlog-1.0.6/doc/UsersGuide-CN.lyx
zlog-1.0.6/doc/UsersGuide-CN.pdf
zlog-1.0.6/doc/UsersGuide-EN.lyx
zlog-1.0.6/autogen.sh
zlog-1.0.6/depcomp
zlog-1.0.6/configure
zlog-1.0.6/INSTALL
zlog-1.0.6/AUTHORS
zlog-1.0.6/config.guess
zlog-1.0.6/ltmain.sh
zlog-1.0.6/config.sub
zlog-1.0.6/install-sh
zlog-1.0.6/zlog.pc.in
zlog-1.0.6/configure.ac
zlog-1.0.6/compile
zlog-1.0.6/COPYING
zlog-1.0.6/README
zlog-1.0.6/config.h.in
zlog-1.0.6/aclocal.m4
zlog-1.0.6/libzlog/
zlog-1.0.6/libzlog/zc_profile.h
zlog-1.0.6/libzlog/format.h
zlog-1.0.6/libzlog/Makefile.in
zlog-1.0.6/libzlog/spec.h
zlog-1.0.6/libzlog/Makefile.am
zlog-1.0.6/libzlog/buf.h
zlog-1.0.6/libzlog/level.c
zlog-1.0.6/libzlog/level.h
zlog-1.0.6/libzlog/mdc.c
zlog-1.0.6/libzlog/zc_hashtable.c
zlog-1.0.6/libzlog/conf.h
zlog-1.0.6/libzlog/thread_table.c
zlog-1.0.6/libzlog/record.h
zlog-1.0.6/libzlog/conf.c
zlog-1.0.6/libzlog/buf.c
zlog-1.0.6/libzlog/category_table.h
zlog-1.0.6/libzlog/category.c
zlog-1.0.6/libzlog/zc_xplatform.h
zlog-1.0.6/libzlog/zc_defs.h
zlog-1.0.6/libzlog/event.h
zlog-1.0.6/libzlog/category_table.c
zlog-1.0.6/libzlog/rule.h
zlog-1.0.6/libzlog/zc_hashtable.h
zlog-1.0.6/libzlog/category.h
zlog-1.0.6/libzlog/record_table.h
zlog-1.0.6/libzlog/format.c
zlog-1.0.6/libzlog/zlog.c
zlog-1.0.6/libzlog/level_list.h
zlog-1.0.6/libzlog/record.c
zlog-1.0.6/libzlog/zc_arraylist.c
zlog-1.0.6/libzlog/thread.h
zlog-1.0.6/libzlog/zc_arraylist.h
zlog-1.0.6/libzlog/zlog.h
zlog-1.0.6/libzlog/zc_xplatform.c
zlog-1.0.6/libzlog/zc_util.h
zlog-1.0.6/libzlog/zc_util.c
zlog-1.0.6/libzlog/rotater.c
zlog-1.0.6/libzlog/zc_profile.c
zlog-1.0.6/libzlog/mdc.h
zlog-1.0.6/libzlog/rotater.h
zlog-1.0.6/libzlog/record_table.c
zlog-1.0.6/libzlog/event.c
zlog-1.0.6/libzlog/thread.c
zlog-1.0.6/libzlog/spec.c
zlog-1.0.6/libzlog/rule.c
zlog-1.0.6/libzlog/level_list.c
zlog-1.0.6/libzlog/thread_table.h
zlog-1.0.6/COPYING.LESSER
zlog-1.0.6/missing
zlog-1.0.6/test/
zlog-1.0.6/test/Makefile.in
zlog-1.0.6/test/test_syslog.conf
zlog-1.0.6/test/Makefile.am
zlog-1.0.6/test/test_press_zlog.conf
zlog-1.0.6/test/test_level.c
zlog-1.0.6/test/test_syslog.c
zlog-1.0.6/test/test_init.c
zlog-1.0.6/test/test_hello.conf
zlog-1.0.6/test/test_mdc.conf
zlog-1.0.6/test/test_profile.c
zlog-1.0.6/test/test_leak.c
zlog-1.0.6/test/test_init.conf
zlog-1.0.6/test/test_default.conf
zlog-1.0.6/test/test_press_printf.c
zlog-1.0.6/test/test_press_zlog2.c
zlog-1.0.6/test/test_press_zlog2.conf
zlog-1.0.6/test/test_record.c
zlog-1.0.6/test/test_press_zlog.c
zlog-1.0.6/test/test_conf.conf
zlog-1.0.6/test/test_hashtable.c
zlog-1.0.6/test/test_conf.c
zlog-1.0.6/test/test_press_syslog.c
zlog-1.0.6/test/test_filemv.c
zlog-1.0.6/test/test_level.conf
zlog-1.0.6/test/test_buf.c
zlog-1.0.6/test/test_level.h
zlog-1.0.6/test/test_hex.c
zlog-1.0.6/test/test_default.c
zlog-1.0.6/test/test_profile.conf
zlog-1.0.6/test/test_mdc.c
zlog-1.0.6/test/test_tmp.c
zlog-1.0.6/test/test_hex.conf
zlog-1.0.6/test/test_press_printf2.c
zlog-1.0.6/test/test_hello.c
zlog-1.0.6/tools/
zlog-1.0.6/tools/Makefile.in
zlog-1.0.6/tools/Makefile.am
zlog-1.0.6/tools/zlog-chk-conf.c
zlog-1.0.6/TODO
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.