systemseed/simplesamlphp-module-rollbar
最新稳定版本:1.0.2
Composer 安装命令:
composer require systemseed/simplesamlphp-module-rollbar
包简介
A SimpleSAMLphp module adding support for Rollbar logger handler.
README 文档
README
SimpleSAMLphp + Rollbar
SimpleSAMLphp module
This module for SimpleSAMLphp provides a LoggerHandler that integrates with Rollbar service.
Installation
- Install and configure SimpleSAMLphp.
- Install Rollbar -
composer require systemseed/simplesamlphp-module-rollbar.
Enable Rollbar
- Fill
rollbar.tokenvalue insimplesamlphp/config/config.phpwith server token taken from Rollbar. - Set
rollbar.environmentvalue insimplesamlphp/config/config.phpto define current environment name.
Configure Rollbar to handle PHP exceptions
Set rollbar.exception_handler value to true in simplesamlphp/config/config.php. This will catch and log all
exceptions to Rollbar as a single occurrence in Rollbar dashboard.
Configure Rollbar to handle all log items
Set logging.handler to 'SimpleSAML\Module\rollbar\Logger\RollbarLoggingHandler'. Please be aware that enabled
backtraces, will result in each line in the backtrace treated as a separate occurrence.
统计信息
- 总下载量: 561
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1
- 更新时间: 2024-05-01