log

package
v2.44.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CloseLogFile added in v2.17.0

func CloseLogFile(logFile *os.File) error

Closes the log file and resets to the default logger

func CreateCustomLogFile added in v2.19.1

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

func CreateLogFile added in v2.17.0

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