formatter

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorizeByLevel

func ColorizeByLevel(text, level string) string

ColorizeByLevel applies color to text based on log level

func FormatLog

func FormatLog(fields map[string]string, format string, fieldOrder []string, hideMissing bool) string

FormatLog dynamically applies formatting and color to log entries

Types

This section is empty.

Jump to

Keyboard shortcuts

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