# 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)
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](https://logbook.readthedocs.io/en/stable/)
library, although most concepts have been adjusted to fit to the PHP world.
没有合适的资源?快使用搜索试试~ 我知道了~
【WordPress插件】2022年最新版完整功能demo+插件v2.4.9.zip
共198个文件
php:129个
png:18个
css:14个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 64 浏览量
2022-04-14
01:58:54
上传
评论
收藏 1.12MB ZIP 举报
温馨提示
"【WordPress插件】2022年最新版完整功能demo+插件v2.4.9 Contact Form 7 - amoCRM - Integration | Contact Form 7 - amoCRM - Интеграция 联系表格7 - AMOCRM - 集成|联系表格7 - Amocrm - 集成" ---------- 泰森云每天更新发布最新WordPress主题、HTML主题、WordPress插件、shopify主题、opencart主题、PHP项目源码、安卓项目源码、ios项目源码,更有超10000个资源可供选择,如有需要请站内联系。
资源推荐
资源详情
资源评论
收起资源包目录
【WordPress插件】2022年最新版完整功能demo+插件v2.4.9.zip (198个子文件)
app.css 28KB
screen.css 12KB
grid.css 10KB
screen.css 4KB
typography.css 3KB
ie.css 3KB
screen.css 2KB
screen.css 2KB
print.css 2KB
ie.css 2KB
forms.css 2KB
screen.css 1KB
print.css 1KB
reset.css 1KB
Thumbs.db 0B
index.html 5KB
step1_1.jpg 144KB
step2_1.jpg 142KB
step1.jpg 98KB
step1_1.4.jpg 95KB
step1_1.3.jpg 92KB
step2.jpg 79KB
about.jpg 74KB
step1_1.1.jpg 57KB
step1_4.jpg 13KB
step1_1.2.jpg 12KB
step1_2.jpg 7KB
step1_3.jpg 5KB
app.js 335KB
app.js 88KB
installed.json 5KB
composer.json 3KB
composer.json 561B
mix-manifest.json 212B
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
CHANGELOG.md 23KB
README.md 4KB
README.md 1KB
ru_RU.mo 10KB
CF7.php 79KB
CRM.php 39KB
Logger.php 22KB
autoload_static.php 16KB
CF7.php 14KB
autoload_classmap.php 13KB
ClassLoader.php 13KB
HipChatHandler.php 11KB
PHPConsoleHandler.php 10KB
SocketHandler.php 10KB
ErrorHandler.php 8KB
SlackRecord.php 8KB
BrowserConsoleHandler.php 7KB
RavenHandler.php 7KB
PushoverHandler.php 6KB
FingersCrossedHandler.php 6KB
SlackHandler.php 6KB
NewRelicHandler.php 6KB
RotatingFileHandler.php 6KB
CrmFields.php 6KB
Bootstrap.php 6KB
ChromePHPHandler.php 6KB
Utils.php 5KB
LineFormatter.php 5KB
DeduplicationHandler.php 5KB
FirePHPHandler.php 5KB
TestHandler.php 5KB
LogstashFormatter.php 5KB
JsonFormatter.php 5KB
StreamHandler.php 5KB
NativeMailerHandler.php 5KB
FilterHandler.php 5KB
NormalizerFormatter.php 5KB
CubeHandler.php 5KB
LoggerInterfaceTest.php 5KB
HtmlFormatter.php 5KB
TestLogger.php 4KB
GelfMessageFormatter.php 4KB
AbstractHandler.php 4KB
SignalHandler.php 4KB
BufferHandler.php 4KB
Registry.php 4KB
InstalledVersions.php 4KB
RollbarHandler.php 4KB
AmqpHandler.php 4KB
SlackWebhookHandler.php 4KB
Helper.php 4KB
IntrospectionProcessor.php 3KB
SwiftMailerHandler.php 3KB
LoggerTrait.php 3KB
ElasticSearchHandler.php 3KB
FlowdockHandler.php 3KB
AbstractSyslogHandler.php 3KB
FleepHookHandler.php 3KB
MongoDBFormatter.php 3KB
SamplingHandler.php 3KB
WildfireFormatter.php 3KB
WebProcessor.php 3KB
SyslogUdpHandler.php 3KB
共 198 条
- 1
- 2
资源评论
Lee达森
- 粉丝: 957
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功