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

https://github.com/cag/color-logger

Logger middleware with color
https://github.com/cag/color-logger

Last synced: about 1 year ago
JSON representation

Logger middleware with color

Awesome Lists containing this project

README

          

# cologroni

Negroni logger middleware with color. It also doesn't make a log line when response starts.

## Usage

```go
import "github.com/cag/cologroni"

func main() {

...

n := negroni.New(
cologroni.New(),
negroni.NewRecovery(),
negroni.NewStatic(http.Dir("public")))

...

}

```