Documentation
¶
Overview ¶
Package logger is a custom slog.
Index ¶
Constants ¶
View Source
const ( Reset = "\033[0m" Dim = "\033[2m" Italic = "\033[3m" Bold = "\033[1m" // Level Colors Blue = "\033[34m" Green = "\033[32m" Yellow = "\033[33m" Red = "\033[31m" Gray = "\033[90m" )
ANSI Color Constants
Variables ¶
This section is empty.
Functions ¶
func SetupLogger ¶
func SetupLogger()
Types ¶
type TreeHandler ¶
type TreeHandler struct {
// contains filtered or unexported fields
}
func NewTreeHandler ¶
func NewTreeHandler(output io.Writer, opts *slog.HandlerOptions) *TreeHandler
Click to show internal directories.
Click to hide internal directories.