<commit_before>Chop
====

An easy and efficient logging library for Java & Android (inspired by [JakeWharton's Timber](https://github.com/JakeWharton/timber))

## Installation?
```groovy
buildscript {
  repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }
  dependencies {
    compile 'com.episode6.hackit.chop:chop-core:0.1.9'
  }
}
```

Optionally, add a dependency on one of the specialized chop modules
- `chop-android`
  - Provides the `AndroidDebugTree` that spits out logs to the appropriate android `Log.*()` method
- `chop-groovy`
  - Provides the `GroovyDebugTagger` that should replace the default Tagger when chopping from a groovy project or library.
- `chop-junit`
  - Provides the `ChopRule` TestRule to add logging to your unit tests.

## How do I use it?
This should feel very familiar if you've used [Timber](https://github.com/JakeWharton/timber)

Plant a `Chop.Tree` as early as possible in (the debug build of) your application...
```java
// Android example
public MyApplication extends Application {
  @Override
  public void onCreate() {
    super.onCreate();
    Chop.plantTree(new AndroidDebugTree());
  }
}
```<commit_msg>readme should show jcenter repo<commit_after>Chop
====

An easy and efficient logging library for Java & Android (inspired by [JakeWharton's Timber](https://github.com/JakeWharton/timber))

## Installation?
```groovy
buildscript {
  repositories { jcenter() }
  dependencies {
    compile 'com.episode6.hackit.chop:chop-core:0.1.9'
  }
}
```

Optionally, add a dependency on one of the specialized chop modules
- `chop-android`
  - Provides the `AndroidDebugTree` that spits out logs to the appropriate android `Log.*()` method
- `chop-groovy`
  - Provides the `GroovyDebugTagger` that should replace the default Tagger when chopping from a groovy project or library.
- `chop-junit`
  - Provides the `ChopRule` TestRule to add logging to your unit tests.

## How do I use it?
This should feel very familiar if you've used [Timber](https://github.com/JakeWharton/timber)

Plant a `Chop.Tree` as early as possible in (the debug build of) your application...
```java
// Android example
public MyApplication extends Application {
  @Override
  public void onCreate() {
    super.onCreate();
    Chop.plantTree(new AndroidDebugTree());
  }
}
```
{'fraction_non_alphanumeric': 0.11225806451612903, 'fraction_numerical': 0.0034408602150537634, 'mean_word_length': 4.27437641723356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '3123456', 'n_tokens_mistral': 754, 'n_tokens_neox': 712, 'n_words': 244}