package
1.3.25
Repository: https://github.com/skycoin/skywire-utilities.git
Documentation: pkg.go.dev

# Functions

AddHook adds a hook to the global logger.
Disable disables the logger completely.
DisableColors disables colored logging.
EnableColors enables colored logging.
GetLevel returns the logger level.
LevelFromString returns a logrus.Level from a string identifier.
MustGetLogger returns a package-aware logger from the master logger.
NewMasterLogger creates a new package-aware logger with formatting string.
NewWriteHook returns a new WriteHook.
SetLevel sets the logger's minimum log level.
SetOutputTo sets the logger's output to an io.Writer.

# Structs

ColorScheme configures the logging output colors.
Logger wraps logrus.FieldLogger.
MasterLogger wraps logrus.Logger and is able to create new package-aware loggers.
TextFormatter formats log output.
WriteHook is a logrus.Hook that logs to an io.Writer.