gol4ng/logger

View on GitHub

Showing 8 of 37 total issues

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !windows,!plan9
Severity: Minor
Found in handler/syslog.go by gofmt

exported method Context.StringTo should have comment or be unexported
Open

func (c *Context) StringTo(byteBuffer *bytebufferpool.ByteBuffer) *Context {
Severity: Minor
Found in context.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package formatter
Severity: Minor
Found in formatter/line.go by gofmt

2: cannot find package "github.com/valyala/bytebufferpool" in any of:
Open

    "github.com/valyala/bytebufferpool"
Severity: Minor
Found in context.go by govet

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package middleware
Severity: Minor
Found in middleware/caller.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package formatter
Severity: Minor
Found in formatter/default.go by gofmt

exported const LineFormatDefault should have comment (or a comment on this block) or be unexported
Open

    LineFormatDefault = "%s %s %s"             // test message warning <my_key:my_value>
Severity: Minor
Found in formatter/line.go by golint

exported method Fields.StringTo should have comment or be unexported
Open

func (f *Fields) StringTo(byteBuffer *bytebufferpool.ByteBuffer) {
Severity: Minor
Found in fields.go by golint
Severity
Category
Status
Source
Language