mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
more logging
This commit is contained in:
parent
6301d2b47f
commit
42ff4410ad
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user