package
0.0.0-20241008022827-e7006ed1ecbc
Repository: https://github.com/ysicing/ergo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

GetFileLogger returns a logger instance for the specified filename.
GetInstance returns the Logger instance.
No description provided by the author
No description provided by the author
NewStreamLogger creates a new stream logger.
No description provided by the author
OverrideRuntimeErrorHandler overrides the standard runtime error handler that logs to stdout with a file logger that logs all runtime.HandleErrors to errors.log.
PrintTable prints a table with header columns and string values.
SetFakePrintTable is a testing tool that allows overwriting the function PrintTable.
SetInstance sets the default logger instance.
StartFileLogging logs the output of the global logger to the file default.log.

# Variables

No description provided by the author
Discard is a logger implementation that just discards every log statement.

# Structs

DiscardLogger just discards every log statement.
StreamLogger logs all messages to a stream.
SurveyError is used to identify errors where questions were asked in the discard logger.

# Interfaces

Logger defines the common logging interface.