<commit_before>dlog
====

a Simple &amp; Beautiful Logging for Browser

![](readme_img/feature.png)

## Features

* Colorful.
* Font size customize.
* Timestamp.
* Log levels: trace, debug, info, warn, error.
* Silent mode. (for production)
* Limit logs by level.

## Installation

Download dlog.js [here](https://github.com/ddo/dlog/blob/v0.0.1/dlog.min.js)

    <script src="oauth-1.0a.js"></script>
    
### Init

```js
var log = new dlog();
```

## Levels (in order)

* trace
* debug
* info
* warn
* error
* silent

## Usage

### init

```js
var log = new dlog({
	name: "<NAME>",
	size: 20, //font size
	level: "info"
});
```

### .log(level, data)<commit_msg>download link<commit_after>dlog
====

a Simple &amp; Beautiful Logging for Browser

![](readme_img/feature.png)

## Features

* Colorful.
* Font size customize.
* Timestamp.
* Log levels: trace, debug, info, warn, error.
* Silent mode. (for production)
* Limit logs by level.

## Installation

Download dlog.js [here](https://raw2.github.com/ddo/dlog/v0.0.1/dlog.min.js)

    <script src="oauth-1.0a.js"></script>
    
### Init

```js
var log = new dlog();
```

## Levels (in order)

* trace
* debug
* info
* warn
* error
* silent

## Usage

### init

```js
var log = new dlog({
	name: "<NAME>",
	size: 20, //font size
	level: "info"
});
```

### .log(level, data)
{'fraction_non_alphanumeric': 0.1927710843373494, 'fraction_numerical': 0.011295180722891566, 'mean_word_length': 3.520408163265306, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7497535', 'n_tokens_mistral': 537, 'n_tokens_neox': 507, 'n_words': 136}