Documentation ¶
Overview ¶
Package hhlog is a printf-style logging package. It accepts both standard and debugging messages; standard messages are written immediately to console, but debugging messages are buffered internally. If the application encounters an error, it can annotate the error with the accumulated debug logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is a simple printf-style logger.
func (*Logger) Annotate ¶
Annotate decorates the supplied error with any debugging information accumulated on the logger.
Click to show internal directories.
Click to hide internal directories.