<commit_before># fluent-logger for Dartlang

fluent-logger implementation for Dart inspired by [fluent-logger-perl](https://github.com/fluent/fluent-logger-perl)

UNDER DEVELOPMENT.

If found bug or issues, please contribute to [the fluent-logger-dart repository!](https://github.com/ichigotake/fluent-logger-dart/issues)

## Usage

``` dart
FluentLogger logger = new FluentLogger(host: '127.0.0.1', port: 24224, timeout: 300);
logger.post("test.greet", {"greeting": "Good afternoon :)"})
  .then((e) => 'success!')
  .catchError((e) => 'failed...')
  .whenComplete((action) => logger.destroy());
```

## TODO

- Retries posting message when failed to post to `fluentd`.

## License

MIT License<commit_msg>Write working on platform with `dart:io`<commit_after># fluent-logger for Dartlang

fluent-logger implementation for Dart inspired by [fluent-logger-perl](https://github.com/fluent/fluent-logger-perl)

UNDER DEVELOPMENT.

If found bug or issues, please contribute to [the fluent-logger-dart repository!](https://github.com/ichigotake/fluent-logger-dart/issues)

## Usage

They currently only work on platforms where `dart:io` is available.

``` dart
FluentLogger logger = new FluentLogger(host: '127.0.0.1', port: 24224, timeout: 300);
logger.post("test.greet", {"greeting": "Good afternoon :)"})
  .then((e) => 'success!')
  .catchError((e) => 'failed...')
  .whenComplete((action) => logger.destroy());
```

## TODO

- Retries posting message when failed to post to `fluentd`.

## License

MIT License
{'fraction_non_alphanumeric': 0.15960264900662252, 'fraction_numerical': 0.018543046357615896, 'mean_word_length': 4.90234375, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3883030', 'n_tokens_mistral': 529, 'n_tokens_neox': 492, 'n_words': 130}