logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HighlightHeader

func HighlightHeader(text string) string

HighlightHeader returns a highlighted header string suitable for section titles

func PrintCritical

func PrintCritical(format string, args ...interface{})

PrintCritical prints a critical error message

func PrintError

func PrintError(format string, args ...interface{})

PrintError prints an error message

func PrintInfo

func PrintInfo(format string, args ...interface{})

PrintInfo prints an info message

func PrintRequestLog

func PrintRequestLog(method, path string, statusCode int, contentType string)

PrintRequestLog prints a formatted API request/response log

func PrintStartupBanner

func PrintStartupBanner(port int, target, dataDir string)

PrintStartupBanner prints a startup banner for the application

func PrintSuccess

func PrintSuccess(format string, args ...interface{})

PrintSuccess prints a success message

func PrintWarning

func PrintWarning(format string, args ...interface{})

PrintWarning prints a warning message

Types

This section is empty.

Jump to

Keyboard shortcuts

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