logger

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyPtermTheme

func ApplyPtermTheme(indent int)

ApplyPtermTheme applies custom styles to pterm

func Debug

func Debug(msg string, keysAndValues ...interface{})

Debug logs a debug message

func Error

func Error(msg string, keysAndValues ...interface{})

Error logs an error message

func Fatal

func Fatal(msg string, keysAndValues ...interface{})

Fatal logs a fatal error message and exits the application

func Info

func Info(msg string, keysAndValues ...interface{})

Info logs an info message

func Initialize

func Initialize(logLevel string, logPlainText bool)

Initialize sets up the logger with a specified log level

func Success

func Success(msg string, keysAndValues ...interface{})

Success prints a user-facing success message with optional centralized control

func Warn

func Warn(msg string, keysAndValues ...interface{})

Warn logs 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