logutil

package
v0.0.0-...-9d956ab Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormattedWriter

type FormattedWriter struct {
	// contains filtered or unexported fields
}

func NewFormattedWriter

func NewFormattedWriter(levels []log.Level) *FormattedWriter

func (*FormattedWriter) Fire

func (w *FormattedWriter) Fire(entry *log.Entry) error

func (*FormattedWriter) Formatter

func (w *FormattedWriter) Formatter() log.Formatter

func (*FormattedWriter) Levels

func (w *FormattedWriter) Levels() []log.Level

func (*FormattedWriter) Output

func (w *FormattedWriter) Output() io.Writer

func (*FormattedWriter) SetFormatter

func (w *FormattedWriter) SetFormatter(formatter log.Formatter)

func (*FormattedWriter) SetOutput

func (w *FormattedWriter) SetOutput(output io.Writer)

Jump to

Keyboard shortcuts

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