Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/orlovevgeny/logger

easy logger golang mini module
https://github.com/orlovevgeny/logger

golang-library log logger logger-backend module

Last synced: about 1 month ago
JSON representation

easy logger golang mini module

Awesome Lists containing this project

README

        

# Easy logger

[![Build Status](https://travis-ci.org/OrlovEvgeny/logger.svg?branch=master)](https://travis-ci.org/OrlovEvgeny/logger)
[![Go Report Card](https://goreportcard.com/badge/github.com/OrlovEvgeny/logger?v1)](https://goreportcard.com/report/github.com/OrlovEvgeny/logger)
[![GoDoc](https://godoc.org/github.com/OrlovEvgeny/logger?status.svg)](https://godoc.org/github.com/OrlovEvgeny/logger)

easy logger golang mini module

# Use

````go
//New return *log.Logger (https://godoc.org/log#Logger)
log := logger.New(&logger.Config{
AppName: "you application name",
Debug: true,
LogFile: "./error.log",
})

log.Println("custom Error message")
````

# License:

[MIT](LICENSE)