<commit_before># Lopher
[![Go Report Card](https://goreportcard.com/badge/github.com/adamveld12/lopher)](https://goreportcard.com/report/github.com/adamveld12/lopher)
[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/adamveld12/lopher)
[![wercker status](https://app.wercker.com/status/c7ab8a9e5a8b29d22f365f9bd1e808fc/s/master "wercker status")](https://app.wercker.com/project/byKey/c7ab8a9e5a8b29d22f365f9bd1e808fc)

A dead simple log library, inspired by [<NAME>'s blog post on logging](https://dave.cheney.net/2015/11/05/lets-talk-about-logging).

Only two log levels exist: Info and Debug. Info is always enabled, Debug is for development time.

Included are the same flags that are available with the standard library log package, with an API that
should feel familiar to you if you've used the standard library `log` package at all.

## How to use

```go
package main

import (
    "time"
    "os"
    "gopkg.in/adamveld12/lopher.v1"
)

func main(){
    // make a new instance:
    l := lopher.New(os.Stdout, false, lopher.LFstdFlags)

    started := time.Now()<commit_msg>added badges for gocover and go walker<commit_after># Lopher
[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/adamveld12/lopher)
[![Go Walker](http://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/adamveld12/lopher)
[![Gocover](http://gocover.io/_badge/github.com/adamveld12/lopher)](http://gocover.io/github.com/adamveld12/lopher)
[![Go Report Card](https://goreportcard.com/badge/github.com/adamveld12/lopher)](https://goreportcard.com/report/github.com/adamveld12/lopher)
[![wercker status](https://app.wercker.com/status/c7ab8a9e5a8b29d22f365f9bd1e808fc/s/master "wercker status")](https://app.wercker.com/project/byKey/c7ab8a9e5a8b29d22f365f9bd1e808fc)

A dead simple log library, inspired by [<NAME>'s blog post on logging](https://dave.cheney.net/2015/11/05/lets-talk-about-logging).

Only two log levels exist: Info and Debug. Info is always enabled, Debug is for development time.

Included are the same flags that are available with the standard library log package, with an API that
should feel familiar to you if you've used the standard library `log` package at all.

## How to use

```go
package main

import (
    "time"
    "os"
    "gopkg.in/adamveld12/lopher.v1"
)

func main(){
    // make a new instance:
    l := lopher.New(os.Stdout, false, lopher.LFstdFlags)

    started := time.Now()
{'fraction_non_alphanumeric': 0.14325286901464188, 'fraction_numerical': 0.043134151167392165, 'mean_word_length': 4.668161434977579, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 11, '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': '2384430', 'n_tokens_mistral': 991, 'n_tokens_neox': 914, 'n_words': 196}