<commit_before># li3_airbrake

## Lithium plugin that reports errors and exceptions to Airbrake

### Installation

Clone the project into your li3 app/libraries directory

```bash

git clone git://github.com/gary-rafferty/li3_airbrake.git app/libraries/li3_airbrake

```

and then load it by adding the following to you app/config/bootstrap/libraries.php

```php

<?php

  Libraries::add('li3_airbrake', array('apikey' => '[AIRBRAKE-API-KEY]'))

?>

```

### Usage

li3_airbrake should take care of the rest, and report any errors to Airbrake

### Todo

* Filtering of errors<commit_msg>Add semicolon to install instructions<commit_after># li3_airbrake

## Lithium plugin that reports errors and exceptions to Airbrake

### Installation

Clone the project into your li3 app/libraries directory

```bash

git clone git://github.com/gary-rafferty/li3_airbrake.git app/libraries/li3_airbrake

```

and then load it by adding the following to you app/config/bootstrap/libraries.php

```php

<?php

  Libraries::add('li3_airbrake', array('apikey' => '[AIRBRAKE-API-KEY]'));   

?>

```

### Usage

li3_airbrake should take care of the rest, and report any errors to Airbrake

### Todo

* Filtering of errors
{'fraction_non_alphanumeric': 0.11231281198003328, 'fraction_numerical': 0.009983361064891847, 'mean_word_length': 4.728571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6104085', 'n_tokens_mistral': 424, 'n_tokens_neox': 405, 'n_words': 121}