logging/processor.go

Summary

Maintainability
A
35 mins
Test Coverage

Function newProcessor has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    verbose bool,
    colorize bool,
    clock glock.Clock,
    outStream io.Writer,
    errStream io.Writer,
Severity: Minor
Found in logging/processor.go - About 35 mins to fix

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

        ShortTimestampFormat = "15:04:05"
    Severity: Minor
    Found in logging/processor.go by golint

    exported function NewProcessor should have comment or be unexported
    Open

    func NewProcessor(quiet, verbose, colorize bool) Processor {
    Severity: Minor
    Found in logging/processor.go by golint

    exported type Processor should have comment or be unexported
    Open

        Processor interface {
    Severity: Minor
    Found in logging/processor.go by golint

    There are no issues that match your filters.

    Category
    Status