package
0.0.0-20181025162720-c8a214aafdbb
Repository: https://github.com/turbinelabs/nonstdlib.git
Documentation: pkg.go.dev
# Packages
Package console provides simple console logging to Stderr, configurable through a FlagSet.
# Functions
Close will Close on all files that have been opened for logging.
Get provides access to a configured logger.
Initialize confgures logging and individual topic based loggers.
LogAndPanic is a default handler that just logs the error and panics instead of trying to recover or continue.
ToWriter provides an io.Writer adapter that converts Writes into log actions.
# Variables
DefaultConfig provides some reasonable defaults for topic config.
Failsafe is used to prevent dataloss in the case where a log client attempts to access a log before it has been initialized.