<commit_before># log
It is a simple log library for golang

## Supported handlers
* console
* gelf (graylog)

## Example

```golang
package main

import (
	"time"

	"github.com/jasonsoft/log"
	"github.com/jasonsoft/log/handlers/console"
	"github.com/jasonsoft/log/handlers/gelf"
)

func main() {
	clog := console.New()
	graylog := gelf.New("tcp://192.168.1.1:12201")

	logger := log.New()
	logger.SetAppID("TesterApp") // unique id for the app<commit_msg>update readme ( change lanauge to go)<commit_after># log
It is a simple log library for golang

## Supported handlers
* console
* gelf (graylog)

## Example

```go
package main

import (
	"time"

	"github.com/jasonsoft/log"
	"github.com/jasonsoft/log/handlers/console"
	"github.com/jasonsoft/log/handlers/gelf"
)

func main() {
	clog := console.New()
	graylog := gelf.New("tcp://192.168.1.1:12201")

	logger := log.New()
	logger.SetAppID("TesterApp") // unique id for the app
{'fraction_non_alphanumeric': 0.15698924731182795, 'fraction_numerical': 0.02795698924731183, 'mean_word_length': 4.143646408839779, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3413750', 'n_tokens_mistral': 380, 'n_tokens_neox': 354, 'n_words': 80}