package text
import "github.com/bep/logg/handlers/text"
Package text implements a development-friendly textual handler.
Index ¶
Variables ¶
Default handler outputting to stderr.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implementation.
func New ¶
New handler.
func (*Handler) HandleLog ¶
HandleLog implements logg.Handler.
type Options ¶
type Options struct { // Separator is the separator between fields. // Default is " ". Separator string }
Options holds options for the text handler.
Source Files ¶
- Version
- v0.4.0 (latest)
- Published
- Nov 6, 2023
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 5 days ago –
Tools for package owners.