承接 rouda/monolog-handler 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-11-26