package
2.0.4+incompatible
Repository: https://github.com/tranch/ratchet.git
Documentation: pkg.go.dev

# Functions

Debug logs output when LogLevel is set to at least Debug level.
Error logs output when LogLevel is set to at least Error level.
ErrorWithoutTrace logs output when LogLevel is set to at least Error level but doesn't send the stack trace to Notifier.
Info logs output when LogLevel is set to at least Info level.
SetLogfile can be used to log to a file as well as Stdoud.
SetOutput allows setting log output to any custom io.Writer.
Status logs output when LogLevel is set to at least Status level Status output is high-level status events like stages starting/completing.

# Constants

Ordering the importance of log information.
Ordering the importance of log information.
Ordering the importance of log information.
Ordering the importance of log information.
Ordering the importance of log information.

# Variables

LogLevel can be set to one of: logger.LevelDebug, logger.LevelInfo, logger.LevelError, logger.LevelStatus, or logger.LevelSilent.
Notifier can be set to receive log events in your external implementation code.

# Interfaces

RatchetNotifier is an interface for receiving log events.