csoellinger/silverstripe-rollbar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

csoellinger/silverstripe-rollbar

Composer 安装命令:

composer require csoellinger/silverstripe-rollbar

包简介

SilverStripe log handler for rollbar. https://rollbar.com

README 文档

README

This is a very configurable module for the Rollbar Logging Service. Implementing the Rollbar PHP library including the rollbar js helper for client side logging in your SilverStripe application. Easy to use by injecting the log handler, setting the api key and optionally inserting a template helper called {RollbarJS} for the client code.

Requirements

  • SilverStripe ^4.10 for latest version
  • SilverStripe <4.10 with version 1.x.x
  • Rollbar API key

Installation

BE AWARE TO TAKE THE VERSION WITH YOUR REQUIREMENTS

SilverStripe v4.10

composer require csoellinger/silverstripe-rollbar "^2"

SilverStripe v4.0 - v4.9

composer require csoellinger/silverstripe-rollbar "^1"

Configuration

To set the API key and the log handler as logger interface you have to set this config:

CSoellinger\SilverStripeRollbar\Configuration\RollbarConfiguration:
  access_token: Your Access Token
CSoellinger\SilverStripeRollbar\Configuration\RollbarJsConfiguration:
  accessToken: Your Client Access Token
SilverStripe\Core\Injector\Injector:
  RollbarLogHandler:
    class: CSoellinger\SilverStripeRollbar\Log\RollbarLogHandler
  Psr\Log\LoggerInterface:
    calls:
      RollbarLogHandler: [pushHandler, ["%$RollbarLogHandler"]]

Documentation

License

See License

We have included a 3-clause BSD license you can use as a default. We advocate for the BSD license as it is one of the most permissive and open licenses.

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

统计信息

  • 总下载量: 63
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-02-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固