syslog

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 WithLevel

func WithLevel(level logger.Level) monolog.HandlerOpt

func WithNetwork

func WithNetwork(network string) monolog.HandlerOpt

func WithRaddr

func WithRaddr(raddr string) monolog.HandlerOpt

Types

type Handler

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

func NewHandler

func NewHandler(ident string, 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