CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 系统编程 Linux驱动

文件名称:zlog-latest-stable.tar

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    814.4kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

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-de ned ouput

 runtime mannully or automaticlly refreash con gure(safely)

 high ecieny, about 200 times faster than syslog(3) with rsyslogd

 user-de ned 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-de ned ouput

 runtime mannully or automaticlly refreash con gure(safely)

 high ecieny, about 200 times faster than syslog(3) with rsyslogd

 user-de ned 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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com