定制 basilicom-pimcore-plugin/rollbar-reporter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

basilicom-pimcore-plugin/rollbar-reporter

Composer 安装命令:

composer require basilicom-pimcore-plugin/rollbar-reporter

包简介

Configure and use rollbar with Pimcore

README 文档

README

Developer info: Pimcore at basilicom

Synopsis

This Pimcore http://www.pimcore.org plugin simplifies using and configuring the Rollbar reporting service: https://rollbar.com/

Code Example / Method of Operation

If installed and enabled, the following Rollbar properties can be configured via the website/var/config/rollbar.xml file:

Motivation

This plugin simplifies using the Rollbar service by adding it automatically on startup and using an easy XML based configuration file accessable via the Pimcore Plugin management system.

Installation

Add "basilicom-pimcore-plugin/rollbar-reporter" as a requirement to the composer.json in the toplevel directory of your Pimcore installation.

Example:

{
    "require": {
        "basilicom-pimcore-plugin/rollbar-reporter": "~1.0"
    }
}

Install the plugin via the Pimcore Extension Manager. Press the "Configure" button of the RollbarReporter plugin from within the Extension Manager and set the "accessToken" property accordingly.

In order to transmit info to the Rollbar servers, set the "enabled" property to "1", too.

If you want to include errors/traces from backend requests, too: Set the "excludeBackend" property in the xml file to "0".

If you want to include/trace CLI requests, too: Set the "excludeCli" property in the xml file to "0" (this is needed for tracing maintenance.php runs).

API Reference

The following static methods are provided as a wrapper for the original Rollbar functions (and respect the enabled state of the plugin):

  • \RollbarReporter\Plugin::exception(Exception $exception)
  • \RollbarReporter\Plugin::message($message, $level, $extra)
  • \RollbarReporter\Plugin::flush(Exception $exception)

Tests

  • none

Todo

  • add more Rollbar configuration options

Contributors

License

  • GPLv3

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固