Skip to content

go-st/epilog

 
 

Repository files navigation

epilog

Build Status

Epilog is a simple, fast and reliable logger for GO.

Epilog natively supports base ILogger interface from package github.com/go-st/logger. So, if you use ILogger interface in your application - migration to Epilog will be very easy.

Inspired by Monolog.

Install

Using go get: go get github.com/go-st/epilog

Using glide: glide get github.com/go-st/epilog

Checkout latest version on release page.

Usage

logger := New("MyLogger", DefaultHandler)
logger.Debug("hello debug")
logger.Info("hello info")

// Output:
// [2017-01-18T16:00:00.000000+00:00] (DEBUG) hello debug
// [2017-01-18T16:00:00.000000+00:00] (INFO) hello info

Extended usage examples see in example_test.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages