residit/nette-logger
最新稳定版本:v1.9.3
Composer 安装命令:
composer require residit/nette-logger
包简介
Custom Nette logger library
关键字:
README 文档
README
Tracy logger extension capable of logging messages and errors to API.
Note: If you have debug mode enabled in your application, logger will only send \Tracy\Debugger::log() messages to API.
You can disable debug mode by inserting the lines below in file app/bootstrap.php
$configurator->setDebugMode(false);
Installation
Install package via Composer:
composer require residit/nette-logger
Configuration
Enable and configure the extension in Nette config file:
extensions: # ... netteLogger: Residit\NetteLogger\DI\NetteLoggerExtension netteLogger: url: https://api-url.com/api/v1 proxy: 192.168.0.100:1234 (optional) token: ae27a4b4821b13cad2a17a75d219853e
Usage
Once enabled as extension, you can continue to throw exceptions without any change. If you do not fill configuration, plugin will stay off.
统计信息
- 总下载量: 823
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-13