aloframework/log
最新稳定版本:3.0.1
Composer 安装命令:
composer require aloframework/log
包简介
The logger of AloFramework
README 文档
README
A simple, configurable logger implementing the PSR-3 standards interface.
Latest release API documentation: https://aloframework.github.io/log/
| dev-develop | Release |
|---|---|
Installation
Installation is available via Composer:
composer require aloframework/log
Usage
<?php use AloFramework\Log\Log; $log = new Log(); $log->notice('My notice message'); $log->error('An error message');
Configuration
General configuration guidelines can be found here.
The following configuration keys available:
Config::LOG_LABEL: How the log entries will get labelled (default:SYSTEM)Config::LOG_LEVEL: Minimum log level to log (default:LogLevel::DEBUG)Config::SAVE_PATH: The log file's location (default:src/logs/YYYY-mm-dd.log). Alternatively, you can pass a file handle (opened byfopen())Config::LOCK_FILE: Controls whether file locking should take place while writing log entries (default:true)
统计信息
- 总下载量: 423
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-09-17