drain

package
v0.0.0-...-37044f6 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptLogger

func AdaptLogger(logger logtap.Logger) logtap.Drain

func AdaptPublisher

func AdaptPublisher(publisher Publisher) logtap.Drain

func AdaptWriter

func AdaptWriter(writer io.Writer) logtap.Drain

func Filter

func Filter(drain logtap.Drain, level int) logtap.Drain

Types

type Publisher

type Publisher interface {
	Publish(tag []string, data string) error
}

Jump to

Keyboard shortcuts

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