init

package module
v0.0.0-...-34a2e9f Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelDefault   LogLevel = iota
	LogLevelErrorOnly          = 1
	LogLevelStandard           = 2
	LogLevelElevated           = 3
	LogLevelFull               = 4
	LogLevelDebug              = 5
	LogLevelTrace              = 6
	LogLevelVerbose            = 7
)

The verbosity of the logging to the console or logfile. Default is LogLevelStandard LogLevelFull contains INFO related messages that could be helpful in debugging LogLevelTrace is very detailed function enter, highly verbose statements, function exit LogLevelVerbose contains data movement on top of Trace

Variables

This section is empty.

Functions

func Init

func Init(init DiffDirectoryInit)

The Init function for this utility. Allows you to set the logging level and use of a log file. Default is output to the console.

Types

type DiffDirectoryInit

type DiffDirectoryInit struct {
	LogLevel      LogLevel
	DebugFilePath string
}

Initialization options for this utility.

type LogLevel

type LogLevel int64

LogLevel expressed as an int64

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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