Categorygithub.com/ehazlett/simplelog
modulepackage
0.0.0-20200226020431-d374894e92a4
Repository: https://github.com/ehazlett/simplelog.git
Documentation: pkg.go.dev

# README

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() {
    ...
}

# Structs

No description provided by the author
No description provided by the author