diff options
Diffstat (limited to 'servers.go')
-rw-r--r-- | servers.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,8 +1,9 @@ package main import ( - "log/slog" "net" + + "git.sr.ht/~runxiyu/meseircd/meselog" ) type Server struct { @@ -23,7 +24,7 @@ func (server *Server) SendRaw(s string) error { // TODO: Propagate across mesh return ErrNotConnectedServer } - slog.Debug("send", "line", s, "conn", server.conn) + meselog.Debug("send", "line", s, "conn", server.conn) _, err := (*server.conn).Write([]byte(s)) if err != nil { // TODO: Should shut down the netFd instead but the stdlib |