Skip to content

ieee0824/logrus-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formatter

package main

import (
	"fmt"

	"github.com/ieee0824/logrus-formatter"
	"github.com/sirupsen/logrus"
)

func main() {
	f := formatter.SysLogFormatter{}
	e := logrus.Entry{}

	bin, _ := f.Format(&e)
	fmt.Println(string(bin))
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages