rouda/monolog-handler
Composer 安装命令:
composer require rouda/monolog-handler
包简介
Implement the logging of your application into the rouda.online dashboard.
README 文档
README
This package provides an integration for the Monolog logging library to send logs from your PHP application to your Rouda.online dashboard. By using this package, you can easily monitor and analyze your application's logs in real-time through the Rouda.online interface.
Features
- Seamless integration with Monolog
- Real-time log monitoring on Rouda.online dashboard
- Easy setup and configuration
Installation
To install this package, you can use Composer:
composer require rouda/monolog-handler
To use this package as a logging channel in Laravel, you need to add the following code to the logging.php configuration file:
'logentries' => [
'driver' => 'monolog',
'handler' => rouda\monologHandler\ApiLogger::class,
'with' => [
'authToken' => 'string',
'environmentId' => 'string',
],
],
This configuration sets up a custom logging channel named 'logentries' using the Monolog library's SyslogUdpHandler. Replace 'authToken', 'applicationId' and 'applicationEnv' with the appropriate details found in your rouda.online dashboard.
统计信息
- 总下载量: 122
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-11-26