log

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandPath

func ExpandPath(path string) string

ExpandPath expands "~/" in paths (current user only), avoiding writing logs into a literal "~" directory under a relative path.

func SetFileOnly

func SetFileOnly(logPath string, level string) error

SetFileOnly switches to file-only logging (no stderr)

func Setup

func Setup(logPath string, level string) error

Setup initializes the logger with file output

Types

This section is empty.

Jump to

Keyboard shortcuts

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