log

package
v0.0.0-...-6673b58 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLogTimeLayout = "2006-01-02.15-04-05"

Variables

This section is empty.

Functions

func CloseLogFile

func CloseLogFile(logFile *os.File) error

Closes the log file and resets to the default logger

func CreateCustomLogFile

func CreateCustomLogFile(fileNameWithExt string) (*os.File, error)

func CreateLogFile

func CreateLogFile() (*os.File, error)

func GetCliLogLevel

func GetCliLogLevel() log.LevelType

func SetDefaultLogger

func SetDefaultLogger()

Types

This section is empty.

Jump to

Keyboard shortcuts

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