package
Version:
v1.29.0
Opens a new window with list of versions in this module.
Published: Jan 30, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Close closes the debug log file if open.
Printf writes a formatted debug message via the standard logger.
Println writes a debug message via the standard logger.
SetFile sets the debug log file path. Creates the file if it doesn't exist.
If path is empty, discards all buffered logs and future logs.
type DebugLogger struct {
}
DebugLogger handles debug logging to file and/or buffering.
It implements io.Writer to be compatible with standard log.Logger.
Write implements io.Writer.
It writes to the file if set, otherwise appends to the buffer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.