stream

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithFormatter

func WithFormatter(formatter monolog.Formatter) monolog.HandlerOpt

func WithLevel

func WithLevel(level logger.Level) monolog.HandlerOpt

Types

type Handler

type Handler struct {
	*monolog.Handlerable
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(writer io.Writer, opts ...monolog.HandlerOpt) *Handler

func (*Handler) Close added in v0.6.0

func (h *Handler) Close() error

func (*Handler) Handle

func (h *Handler) Handle(record *monolog.Record) bool

Jump to

Keyboard shortcuts

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