Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = dlog.New(log.Default().Writer(), "", log.LstdFlags, os.Getenv("DEBUG") == "1")
Default is the default logger. It logs to stderr and debug logging can be enabled by setting the DEBUG environment variable to 1. For example:
DEBUG=1 slackdump
View Source
var Silent = silent{}
Silent is a logger that does not log anything.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.