Documentation ¶
Index ¶
- func Close() error
- func Debug(msg string, v ...any)
- func Error(msg string, v ...any)
- func Info(msg string, v ...any)
- func NewPath(path string) logPath
- func Output(depth int, lev slog.Level, format string, v ...any)
- func Set(config *protolog.Logcat, path string)
- func Warn(msg string, v ...any)
- type FileWriter
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
func NewLogWriter ¶
func NewLogWriter(file string) *FileWriter
func (*FileWriter) Close ¶
func (f *FileWriter) Close() error
Click to show internal directories.
Click to hide internal directories.