<commit_before># Fancy Log

## About
FancyLog - Logging made Pretty
By <NAME>
Copyright (c) <NAME> 2016
Licensed under ISC License

## Installation
Install the package using
```npm i fancylog```

To add it as a dependency, use
```npm i --save fancylog```

Once installed, require the package with

```js
const FancyLog = require('fancylog')
const log = new FancyLog()
```

## Usage
Call one of the following functions or shortcuts for different levels of warning.

```js
i: info
d: debug
e: error
v: verbose
w: warn
```

Example Call

```js
log.i(msg);
// Where msg is the message you want to log
```

### File Output
To output to a file, pass the file path as an argument when creating the new class

```js
// Example
const log = new FancyLog(__dirname + '/default.log')
```

## Examples

```js
// Info
log.info("Log Message");
// Debug
log.d("Log Message");
// Error
log.error("Log Message");
// Warn
log.v("Log Message");
// Verbose
log.warn("Log Message");
```

Would Output

```
[INFO]    [01/01/1970 00:00:00] Log Message
[DEBUG]   [01/01/1970 00:00:00] Log Message
[ERROR]   [01/01/1970 00:00:00] Log Message
[VERBOSE] [01/01/1970 00:00:00] Log Message
[WARN]    [01/01/1970 00:00:00] Log Message
```

## Credits
- <NAME> (<EMAIL>) - Author
- <NAME> (https://github.com/drj-io) - create-if-not-exist<commit_msg>Cleanup README<commit_after># Fancy Log
[![Travis](https://img.shields.io/travis/lolPants/fancylog.svg?maxAge=2592000?style=flat-square)](https://www.npmjs.com/package/fancylog) 

## About
FancyLog - Logging made Pretty  
By <NAME>  
Copyright (c) <NAME> 2016  
Licensed under ISC License  

## Installation
Install the package using
```npm i fancylog```

To add it as a dependency, use
```npm i --save fancylog```

Once installed, require the package with

```js
const FancyLog = require('fancylog')
const log = new FancyLog()
```

## Usage
Call one of the following functions or shortcuts for different levels of warning.

```js
i: info
d: debug
e: error
v: verbose
w: warn
```

Example Call

```js
log.i(msg);
// Where msg is the message you want to log
```

### File Output
To output to a file, pass the file path as an argument when creating the new class

```js
// Example
const log = new FancyLog(__dirname + '/default.log')
```

## Examples

```js
// Info
log.info("Log Message");
// Debug
log.d("Log Message");
// Error
log.error("Log Message");
// Verbose
log.v("Log Message");
// Warn
log.warn("Log Message");
```

Would Output

```
[INFO]    [01/01/1970 00:00:00] Log Message
[DEBUG]   [01/01/1970 00:00:00] Log Message
[ERROR]   [01/01/1970 00:00:00] Log Message
[VERBOSE] [01/01/1970 00:00:00] Log Message
[WARN]    [01/01/1970 00:00:00] Log Message
```

## Credits
- <NAME> (<EMAIL>) - Author
- <NAME> (https://github.com/drj-io) - create-if-not-exist
{'fraction_non_alphanumeric': 0.16163793103448276, 'fraction_numerical': 0.05567528735632184, 'mean_word_length': 3.946714031971581, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 1, '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': '5636777', 'n_tokens_mistral': 1130, 'n_tokens_neox': 975, 'n_words': 333}