# Monolog - Logging for PHP [![Build Status](https://img.shields.io/travis/Seldaek/monolog.svg)](https://travis-ci.org/Seldaek/monolog)
[![Total Downloads](https://img.shields.io/packagist/dt/monolog/monolog.svg)](https://packagist.org/packages/monolog/monolog)
[![Latest Stable Version](https://img.shields.io/packagist/v/monolog/monolog.svg)](https://packagist.org/packages/monolog/monolog)
[![Reference Status](https://www.versioneye.com/php/monolog:monolog/reference_badge.svg)](https://www.versioneye.com/php/monolog:monolog/references)
Monolog sends your logs to files, sockets, inboxes, databases and various
web services. See the complete list of handlers below. Special handlers
allow you to build advanced logging strategies.
This library implements the [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
interface that you can type-hint against in your own libraries to keep
a maximum of interoperability. You can also use it in your applications to
make sure you can always use another compatible logger at a later time.
As of 1.11.0 Monolog public APIs will also accept PSR-3 log levels.
Internally Monolog still uses its own level scheme since it predates PSR-3.
## Installation
Install the latest version with
```bash
$ composer require monolog/monolog
```
## Basic Usage
```php
<?php
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
// create a log channel
$log = new Logger('name');
$log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));
// add records to the log
$log->addWarning('Foo');
$log->addError('Bar');
```
## Documentation
- [Usage Instructions](doc/01-usage.md)
- [Handlers, Formatters and Processors](doc/02-handlers-formatters-processors.md)
- [Utility classes](doc/03-utilities.md)
- [Extending Monolog](doc/04-extending.md)
## Third Party Packages
Third party handlers, formatters and processors are
[listed in the wiki](https://github.com/Seldaek/monolog/wiki/Third-Party-Packages). You
can also add your own there if you publish one.
## About
### Requirements
- Monolog works with PHP 5.3 or above, and is also tested to work with HHVM.
### Submitting bugs and feature requests
Bugs and feature request are tracked on [GitHub](https://github.com/Seldaek/monolog/issues)
### Framework Integrations
- Frameworks and libraries using [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
can be used very easily with Monolog since it implements the interface.
- [Symfony2](http://symfony.com) comes out of the box with Monolog.
- [Silex](http://silex.sensiolabs.org/) comes out of the box with Monolog.
- [Laravel 4 & 5](http://laravel.com/) come out of the box with Monolog.
- [Lumen](http://lumen.laravel.com/) comes out of the box with Monolog.
- [PPI](http://www.ppi.io/) comes out of the box with Monolog.
- [CakePHP](http://cakephp.org/) is usable with Monolog via the [cakephp-monolog](https://github.com/jadb/cakephp-monolog) plugin.
- [Slim](http://www.slimframework.com/) is usable with Monolog via the [Slim-Monolog](https://github.com/Flynsarmy/Slim-Monolog) log writer.
- [XOOPS 2.6](http://xoops.org/) comes out of the box with Monolog.
- [Aura.Web_Project](https://github.com/auraphp/Aura.Web_Project) comes out of the box with Monolog.
- [Nette Framework](http://nette.org/en/) can be used with Monolog via [Kdyby/Monolog](https://github.com/Kdyby/Monolog) extension.
- [Proton Micro Framework](https://github.com/alexbilbie/Proton) comes out of the box with Monolog.
### Author
Jordi Boggiano - <j.boggiano@seld.be> - <http://twitter.com/seldaek><br />
See also the list of [contributors](https://github.com/Seldaek/monolog/contributors) which participated in this project.
### License
Monolog is licensed under the MIT License - see the `LICENSE` file for details
### Acknowledgements
This library is heavily inspired by Python's [Logbook](http://packages.python.org/Logbook/)
library, although most concepts have been adjusted to fit to the PHP world.
没有合适的资源?快使用搜索试试~ 我知道了~
【WordPress主题】2022年最新版完整功能demo+插件v1.0.0 - 26 November 19.zip
共429个文件
php:304个
js:39个
css:24个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 89 浏览量
2022-04-05
09:42:34
上传
评论
收藏 12.25MB ZIP 举报
温馨提示
"【WordPress主题】2022年最新版完整功能demo+插件v1.0.0 - 26 November 19 Arquito - 3D Architecture & Interior WordPress Theme Arquito - 3D建筑与内部Wordpress主题" ---------- 泰森云每天更新发布最新WordPress主题、HTML主题、WordPress插件、shopify主题、opencart主题、PHP项目源码、安卓项目源码、ios项目源码,更有超10000个资源可供选择,如有需要请站内联系。
资源推荐
资源详情
资源评论
收起资源包目录
【WordPress主题】2022年最新版完整功能demo+插件v1.0.0 - 26 November 19.zip (429个子文件)
vlt-main.css 198KB
vlt-main.min.css 153KB
bootstrap.min.css 150KB
icofont.css 110KB
icofont.min.css 90KB
merlin.css 65KB
merlin.min.css 55KB
style.css 48KB
animsition.min.css 27KB
aos.css 25KB
swiper.min.css 19KB
jquery.fancybox.min.css 13KB
customizer-frontend.css 4KB
vlt-gutenberg-style.css 3KB
customizer-editor.css 3KB
vlt-gutenberg-style.min.css 2KB
jquery.pagepiling.min.css 2KB
style.css 1KB
superfish.css 535B
style-editor.css 39B
style.css 0B
style.css 0B
style.css 0B
style.css 0B
customizer-dark.dat 4KB
customizer-light.dat 4KB
phpunit.xml.dist 460B
icofont.eot 1.04MB
demo.html 334KB
screenshot.jpg 143KB
demo-dark.jpg 42KB
demo-light.jpg 42KB
water.min.js 185KB
swiper.min.js 125KB
jquery.fancybox.min.js 67KB
vlt-controllers.js 31KB
css-vars-ponyfill.min.js 19KB
merlin.js 17KB
vlt-controllers.min.js 17KB
anime.min.js 17KB
jarallax.min.js 15KB
aos.js 14KB
vivus.min.js 12KB
typed.min.js 11KB
jquery.pagepiling.min.js 10KB
fastclick.js 8KB
merlin.min.js 7KB
_controller-projects-showcase.js 6KB
vlt-helpers.js 6KB
animsition.min.js 5KB
theia-sticky-sidebar.min.js 5KB
_controller-swiper-sliders.js 5KB
_controller-header.js 5KB
superfish.js 4KB
superclick.min.js 4KB
_controller-other.js 3KB
jquery.matchHeight-min.js 3KB
_controller-page-title-zoom.js 3KB
_controller-piling-slider.js 3KB
jquery.ajaxchimp.min.js 2KB
jquery.fitvids.js 2KB
vlt-admin.js 2KB
_controller-collapse.js 1KB
jquery.inview.min.js 1KB
_controller-subscribe-form.js 1KB
_controller-typed.js 1KB
_controller-counter-up.js 947B
_controller-preloader.js 858B
_controller-info-card.js 513B
_controller-footer.js 455B
_controller-specialization-block.js 450B
group_5bc26122a92ad.json 18KB
group_58cb9676d6b14.json 10KB
installed.json 6KB
composer.json 2KB
group_58cb932f7bbbf.json 2KB
group_5b7bcee3b72ff.json 1KB
group_5b7bcebd66024.json 959B
composer.json 668B
composer.json 561B
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
CHANGELOG.md 19KB
02-handlers-formatters-processors.md 10KB
01-usage.md 8KB
README.md 4KB
04-extending.md 2KB
README.md 1KB
sockets.md 1023B
README.md 984B
03-utilities.md 798B
class-tgm-plugin-activation.php 120KB
WXRImporter.php 73KB
class-merlin.php 73KB
custom-fields.php 25KB
section-typography.php 20KB
Logger.php 19KB
LoggerTest.php 16KB
Importer.php 16KB
共 429 条
- 1
- 2
- 3
- 4
- 5
资源评论
Lee达森
- 粉丝: 968
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功