logext

package
v0.164.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 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 added in v0.134.0

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

Writer writes with log.Error.

func NewErrWriter added in v0.134.0

func NewErrWriter(ctx *log.Entry) ErrorWriter

NewWriter creates a new log writer.

func (ErrorWriter) Write added in v0.134.0

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