Documentation
¶
Index ¶
- func Debug(msg string, args ...any)
- func DefaultHandler(level slog.Level) slog.Handler
- func Error(msg string, args ...any)
- func FileWriter(outputFile string) io.WriteCloser
- func Info(msg string, args ...any)
- func Init(outputFile, level string)
- func JSONHandler(w io.Writer, level slog.Level) slog.Handler
- func Logger() *slog.Logger
- func SetLogger(l *slog.Logger)
- func TextHandler(w io.Writer, level slog.Level) slog.Handler
- func Warn(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileWriter ¶
func FileWriter(outputFile string) io.WriteCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.