logger

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() logr.Logger

Get returns the global logger instance

func Init

func Init()

Init initializes the global logger with appropriate configuration

func LogExecCommand

func LogExecCommand(command string, args []string, caller string)

LogExecCommand logs information about an exec command being executed

func LogExecCommandResult

func LogExecCommandResult(command string, args []string, output string, err error, duration float64, caller string)

LogExecCommandResult logs the result of an exec command

func Sync

func Sync()

Sync is a no-op for logr/stdr

Types

This section is empty.

Jump to

Keyboard shortcuts

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