<commit_before>Metrics.Log4Net Adapter
===============
Log4Net adapter for [Metrics.Net](https://github.com/etishor/Metrics.NET) library.

[![Build status](https://ci.appveyor.com/api/projects/status/v9ndc1i857uumhp6)](https://ci.appveyor.com/project/nkot/metrics-log4net)

### Intro

This is an adapter for Iulian Margarintescu's [Metrics.Net](https://github.com/etishor/Metrics.NET) library. 

**Main Features**
*    Rolling CSV File Support
*    Text File Reporting
*    Custom Log4Net Adapters can be plugged in

Supported runtimes: .Net 4.5

### Quick Usage Sample
```csharp
            Metric.Config
                .WithReporting(config => config
                    .WithMetricsLog4NetConfiguration(new MetricsLog4NetConfiguration()
                        .WithRegionalCsvDelimiter()
                        .SetLogDirectory(@".\metrics\")
                        .UseDefaultConfiguration()
                        )
                    .WithLog4NetCsvReports(TimeSpan.FromSeconds(5))
                );
```

### Download
NuGet package - [Metrics.Log4Net](https://www.nuget.org/packages/Metrics.Log4Net/)

### TODO

> -    [done] Deploy to NuGet
> -    Write tests for text file reporter
> -    Write more documentation

-------------

> Written with [StackEdit](https://stackedit.io/).<commit_msg>Added link to wiki pages<commit_after>Metrics.Log4Net Adapter
===============
Log4Net adapter for [Metrics.Net](https://github.com/etishor/Metrics.NET) library.

[![Build status](https://ci.appveyor.com/api/projects/status/v9ndc1i857uumhp6)](https://ci.appveyor.com/project/nkot/metrics-log4net)

### Intro

This is an adapter for Iulian Margarintescu's [Metrics.Net](https://github.com/etishor/Metrics.NET) library. 

**Main Features**
*    Rolling CSV File Support
*    Text File Reporting
*    Custom Log4Net Adapters can be plugged in

Supported runtimes: .Net 4.5

### Quick Usage Sample
```csharp
            Metric.Config
                .WithReporting(config => config
                    .WithMetricsLog4NetConfiguration(new MetricsLog4NetConfiguration()
                        .WithRegionalCsvDelimiter()
                        .SetLogDirectory(@".\metrics\")
                        .UseDefaultConfiguration()
                        )
                    .WithLog4NetCsvReports(TimeSpan.FromSeconds(5))
                );
```

### Download
NuGet package - [Metrics.Log4Net](https://www.nuget.org/packages/Metrics.Log4Net/)

### Documentation
Look at [wiki](https://github.com/nkot/Metrics.Log4Net/wiki) pages

### TODO

> -    [done] Deploy to NuGet
> -    Write tests for text file reporter
> -    Write more documentation

-------------

> Written with [StackEdit](https://stackedit.io/).
{'fraction_non_alphanumeric': 0.13906307635558834, 'fraction_numerical': 0.01364810033198082, 'mean_word_length': 2.4813863928112965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 13, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4749578', 'n_tokens_mistral': 836, 'n_tokens_neox': 781, 'n_words': 154}