承接 tomaj/nette-errbit 相关项目开发

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

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

tomaj/nette-errbit

最新稳定版本:3.0.2

Composer 安装命令:

composer require tomaj/nette-errbit

包简介

Nette Errbit logger library

README 文档

README

Errbit (Airbrake) error handler for nette applications. For communication with errbit it use package flippa/errbit-php.

Build Status Code Climate

Latest Stable Version Latest Unstable Version License

Warning: This logger isn't working well od developemnt mode in nette. Handling errors in production is fine. In development you have Tracy with all stack trace and you don't need to log this errros on errbit.

Instalation

Install package via composer:

composer require tomaj/nette-errbit

Usage

In Nette application add config file:

parameters:
	errbit:
		send_errors: true
		api_key: your-api-key
		host: errbit-host.com
		port: 80                                        # optional
		secure: false                                   # optional
		project_root: /your/project/root                # optional
		environment_name: production                    # optional
		params_filters: ['/password/', '/card_number/'] # optional
		backtrace_filters: ['#/some/long/path#']        # optional

All configurations are based on package flippa/errbit-php

In nette application you add this line to bootstrap.php after you create $container:

Tomaj\Errbit\ErrbitLogger::register($container->parameters['errbit']);
Tomaj\Errbit\ErrbitLogger::ignoreNotices();
Tomaj\Errbit\ErrbitLogger::addIgnoreMessage('Some exception message text');

// Default log priorities: error, exception. To rewrite call:
Tomaj\Errbit\ErrbitLogger::setLogPriorities(array('error', 'exception', 'access'));

Thats it! You should see your logs in your errbit

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固