logging/logger.go

Summary

Maintainability
A
45 mins
Test Coverage

Function newLogger has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    processor *processor,
    outStream io.Writer,
    outFile io.Writer,
    errStream io.Writer,
    errFile io.Writer,
Severity: Minor
Found in logging/logger.go - About 45 mins to fix

    exported type LogFunc should have comment or be unexported
    Open

        LogFunc func(prefix *Prefix, format string, args ...interface{})
    Severity: Minor
    Found in logging/logger.go by golint

    exported type Logger should have comment or be unexported
    Open

        Logger interface {
    Severity: Minor
    Found in logging/logger.go by golint

    exported var NilLogger should have comment or be unexported
    Open

    var NilLogger = &nilLogger{}
    Severity: Minor
    Found in logging/logger.go by golint

    There are no issues that match your filters.

    Category
    Status