Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLogger ¶
type FileLogger struct { FilePath string // contains filtered or unexported fields }
FileLogger logs messages to a file.
func NewFileLogger ¶ added in v0.5.0
func NewFileLogger(filePath string) *FileLogger
NewFileLogger creates a new FileLogger with the given file path.
func (*FileLogger) Close ¶ added in v0.5.0
func (fl *FileLogger) Close() error
Close closes the file. It is the caller's responsibility to call Close when finished with the logger.
func (*FileLogger) Log ¶
func (fl *FileLogger) Log(message string)
func (*FileLogger) LogDebug ¶ added in v0.5.0
func (fl *FileLogger) LogDebug(message string)
type LogHarbour ¶
type LogHarbour struct {
*logharbour.Logger
}
func (*LogHarbour) Log ¶
func (lh *LogHarbour) Log(message string)
func (*LogHarbour) LogDebug ¶ added in v0.5.0
func (lh *LogHarbour) LogDebug(message string)
Click to show internal directories.
Click to hide internal directories.