logger

package
v0.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *slog.Logger

func Init

func Init()

func LogExecCommand

func LogExecCommand(ctx context.Context, logger *slog.Logger, command string, args []string, caller string)

func LogExecCommandResult

func LogExecCommandResult(ctx context.Context, logger *slog.Logger, command string, args []string, output string, err error, duration float64, caller string)

func Sync

func Sync()

func WithContext

func WithContext(ctx context.Context) *slog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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