blog » OpenSource » log4php

log4php

Apache log4php 是一款开源的 PHP日志框架,类似 log4j。

Apache log4php 有如下特性:

1、可以通过XML、properties、PHP文件进行配置;
2、多种输出方式:Console (stdout, stderr)、Files (including daily and rolling files)、Email、Databases、Sockets、Syslog;
3、多种输出格式:HTML、XML、User defined pattern
4、Nested (NDC) and Mapped (MDC) Diagnostic Contexts.

以下是几款使用该框架的开源软件:

1、CMS Made Simple
2、SugarCRM

log4php的项目主页:http://logging.apache.org/log4php/

This post has already been read 1256 times!

Related posts

RSS 2.0 | leave a response | trackback

发表评论