multi

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 1 Imported by: 7

Documentation

Overview

Package multi implements a handler which invokes a number of handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Handlers []logg.Handler
}

Handler implementation.

func New

func New(h ...logg.Handler) *Handler

New handler.

func (*Handler) HandleLog

func (h *Handler) HandleLog(e *logg.Entry) error

HandleLog implements logg.Handler.

Jump to

Keyboard shortcuts

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