logext

package
v0.182.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorWriter

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

Writer writes with log.Error.

func NewErrWriter

func NewErrWriter(ctx *log.Entry) ErrorWriter

NewWriter creates a new log writer.

func (ErrorWriter) Write

func (w ErrorWriter) Write(p []byte) (n int, err error)

type Writer

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

Writer writes with log.Info.

func NewWriter

func NewWriter(ctx *log.Entry) Writer

NewWriter creates a new log writer.

func (Writer) Write

func (t Writer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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