mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-12 07:43:31 -07:00
more logging
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ func (socket *Socket) readLines() {
|
||||
|
||||
func (socket *Socket) writeLines() {
|
||||
for line := range socket.send {
|
||||
if DEBUG_CLIENT {
|
||||
if DEBUG_NET {
|
||||
log.Printf("%s ← %s", socket, line)
|
||||
}
|
||||
if _, err := socket.writer.WriteString(line); socket.maybeLogWriteError(err) {
|
||||
|
||||
Reference in New Issue
Block a user