package
0.0.0-20250206095323-67f4e8942fa5
Repository: https://github.com/noxyicm/wsf.git
Documentation: pkg.go.dev
# Functions
NewColorizedFormatter creates colorizing formatter.
NewFormatter creates a new formatter specified by type.
NewHTTPAccessFormatter creates http access formatter.
NewSimpleFormatter creates simple formatter.
Register registers a handler for writer formatter creation.
# Constants
Alert: action must be taken immediately.
ColorizedFormat is a default format for simple formatter.
Critical: critical conditions.
Debug: debug messages.
Emergency: system is unusable.
Error: error conditions.
HTTPAccessFormat is a default format for http access formatter.
Informational: informational messages.
Notice: normal but significant condition.
SimpleFormat is a default format for simple formatter.
TYPEColorized represents colorized formatter.
TYPEHTTPAccess represents http access formatter.
TYPESimple represents simple formatter.
Warning: warning conditions.
# Structs
ColorCli is a colorizing formatter.
HTTPAccess filters log messages by priority over operator.
Simple filters log messages by priority over operator.
# Interfaces
Interface represents message formatter.