aboutsummaryrefslogtreecommitdiff
path: root/irclog.go
diff options
context:
space:
mode:
Diffstat (limited to 'irclog.go')
-rw-r--r--irclog.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/irclog.go b/irclog.go
index eef95a3..f40dea1 100644
--- a/irclog.go
+++ b/irclog.go
@@ -30,8 +30,6 @@ func (h *IRCLogHandler) Handle(_ context.Context, r slog.Record) error {
sb.WriteString("PRIVMSG #logs :")
- sb.WriteString(r.Level.String())
- sb.WriteString(" ")
sb.WriteString(r.Message)
r.Attrs(func(a slog.Attr) bool {
@@ -79,7 +77,6 @@ func attrValueToString(v slog.Value) string {
}
func init() {
- slog.SetDefault(slog.New(NewIRCLogHandler(slog.LevelInfo)))
}
// copied from slog