Discover Packages
github.com/danielmiessler/fabric
internal
log
package
Version:
v1.4.316
Opens a new window with list of versions in this module.
Published: Sep 20, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Debug writes a debug message if the global level permits.
func Log(format string , a ...interface{})
Log writes a message unconditionally to stderr.
This is for important messages that should always be shown regardless of debug level.
SetLevel sets the global debug level.
SetOutput allows overriding the output destination for debug logs.
Level represents the debug verbosity.
const (
Off Level = iota
Basic
Detailed
Trace
)
LevelFromInt converts an int to a Level.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.