package
0.1.20
Repository: https://github.com/vanadium/go.lib.git
Documentation: pkg.go.dev

# Functions

ConfigureLogging configures all future logging.
ConfigureLibraryLoggerFromFlags will configure the internal global logger using command line flags.
Error logs to the ERROR and INFO logs.
ErrorDepth acts as Error but uses depth to determine which call frame to log.
Errorf logs to the ERROR and INFO logs.
Fatal logs to the FATAL, ERROR and INFO logs, including a stack trace of all running goroutines, then calls os.Exit(255).
FatalDepth acts as Fatal but uses depth to determine which call frame to log.
Fatalf logs to the FATAL, ERROR and INFO logs, including a stack trace of all running goroutines, then calls os.Exit(255).
Flush flushes all pending log I/O.
Info logs to the INFO log.
InfoDepth acts as Info but uses depth to determine which call frame to log.
Infof logs to the INFO log.
InfoFileLine acts as Info but uses file and line as the call frame to log.
InfoStack logs the current goroutine's stack if the all parameter is false, or the stacks of all goroutines if it's true.
NewLogger creates a new instance of the logging interface.
Panic is equivalent to Error() followed by a call to panic().
PanicDepth acts as Panic but uses depth to determine which call frame to log.
Panicf is equivalent to Errorf() followed by a call to panic().
RegisterLoggingFlags registers the logging flags with the specified flagset and with prefix prepepended to their flag names.
Stats returns stats on how many lines/bytes haven been written to this set of logs.
V returns true if the configured logging level is greater than or equal to its parameter.
VDepth acts as V but uses depth to determine which call frame to check V.
VI is like V, except that it returns an instance of the Info interface that will either log (if level >= the configured level) or discard its parameters.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InfoLog etc reexport the logging severity levels from the underlying llog package.
No description provided by the author
No description provided by the author

# Structs

FilepathSpec allows for the setting of specific log levels for specific files matched by a regular expression.
No description provided by the author
LoggingFlags represents all of the flags that can be used to configure logging.
ModuleSpec allows for the setting of specific log levels for specific modules.
TraceLocation specifies the location, file:N, which when encountered will cause logging to emit a stack trace.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
Level specifies a level of verbosity for V logs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StderrThreshold identifies the sort of log: info, warning etc.