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.1.0
- Published
- Aug 9, 2022
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 11 hours ago –
Tools for package owners.