承接 evolution7/silverstripe-bugsnag-logger 相关项目开发

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

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

evolution7/silverstripe-bugsnag-logger

Composer 安装命令:

composer require evolution7/silverstripe-bugsnag-logger

包简介

Bugsnag error reporting integration for Silverstripe

README 文档

README

The Silverstripe Bugsnag Logger sends your error notifications to Bugsnag.

Compatibility

Tested to work with both Silverstripe 2.4 and 3.x applications.

Installation

The recommended way is using Composer.

Add both this repository and the original bugsnag project to your project's composer.json file

"require": {
    "evolution7/silverstripe-bugsnag-logger": "1.*"
}

After this simply run

$ composer install

or

$ composer update evolution7/silverstripe-bugsnag-logger

As a submodule

Alternatively, if your project does not use Composer you can import the repository as a submodule.

$ git submodule add https://github.com/evolution7/silverstripe-bugsnag-logger bugsnag-logger
$ git submodule add https://github.com/bugsnag/bugsnag-php.git vendor/bugsnag
$ git submodule update --recursive --init

Usage

After installation, all you need to do is add the following line to your _config.php to enable the Bugsnag Logger.

E7_BugsnagLogger::enableWithApiKey(API-KEY-HERE);

Advanced Usage

Client configuration

Calling the enableWithApiKey method will return the Bugsnag_Client object from the official bugsnag-php library. To see what is possible with that, please see the documentation on their Github page.

Release stages

Bugsnag allows you to determine which release stage you are currently in, the Bugsnag Logger uses a ReleaseStage class for this which determines this based on the path, but it is possible to override this by providing your own ReleaseStage class as an optional second parameter when calling enableWithApiKey. This class will have to implement the ReleaseStageInterface to ensure it has the required methods.

E7_BugsnagLogger::enableWithApiKey(API-KEY-HERE, new CustomReleaseStage());

Contributing

  • Fork it on Github
  • Make the changes you'd like to see
  • Make a pull request
  • Thanks!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-11-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固