Skip to content

ehazlett/simplelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Log Formatter

Simple log formatting for logrus

This log formatter removes the prefix from the output and just logs the text.

Sample Usage

package main

import (
    "github.com/ehazlett/simplelog"
    log "github.com/Sirupsen/logrus"
)

func init() {
    f := &simplelog.SimpleFormatter{}
    log.SetFormatter(f)
}

func main() {
    ...
}

About

Simple Log Formatter for Logrus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages