logutil

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ComponentKey = "component"

ComponentKey is the field key used to store the component field.

Variables

This section is empty.

Functions

func AppendComponent

func AppendComponent(e *logrus.Entry, component ...string)

AppendComponent appends to the component field in the logrus.Entry.

This is used to namespace log entries.

func NoopEntry

func NoopEntry() *logrus.Entry

NoopEntry returns a no-op logrus.NoopEntry.

func NoopLogger

func NoopLogger() *logrus.Logger

NoopLogger returns a no-op logrus.NoopLogger.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL