定制 boboldehampsink/rollbar 二次开发

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

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

boboldehampsink/rollbar

最新稳定版本:1.5.3

Composer 安装命令:

composer require boboldehampsink/rollbar

包简介

Rollbar Plugin for Craft CMS

README 文档

README

Plugin that allows you to log Craft Errors/Exceptions to Rollbar.

Important
The plugin's folder should be named "rollbar"

Deprecated

With the release of Craft 3 on 4-4-2018, this plugin has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so.

Features

  • Log Craft Errors/Exceptions to Rollbar
  • Keep Rollbar access token in your config settings
  • Logs the environment you're working on
  • Integrates seamlessly, one click install

Getting started

  • Create a rollbar.php file in craft/config/
  • Set your rollbar config variables in there

Example:

<?php
return array(
    'accessToken' => '123456789'
    'clientToken' => '123456789'
);
?>

If you want to get your client token in the templates, just use craft.config.get('clientToken', 'rollbar')

Changelog

1.5.3

  • Updated Rollbar to 1.3.1

1.5.2

  • Now reports full PHP error message

1.5.1

  • Updated Rollbar to 1.2.0

1.5.0

  • Don't report 404 errors (thanks to @bossanova808)
  • Updated Rollbar to 1.0.1

1.4.2

  • Updated Rollbar to 0.18.2

1.4.1

  • Updated Rollbar to 0.16.0

1.4.0

  • Moved settings to config file
  • Updated Rollbar to 0.15.0

1.3.1

  • Updated Rollbar to 0.11.2

1.3.0

  • Added client key setting and variables (thanks to russback)
  • Added a MIT license

1.2.0

  • Added a switch to disable reporting in devMode
  • Updated Rollbar PHP API to 0.11.0

1.1.1

  • Updated Rollbar PHP API to 0.10.0

1.1

  • Rollbar now logs your Craft environment
  • Rollbar is now not exclusive to devMode anymore

1.0

  • Initial push to GitHub

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-03-27