forked from External/ergo
more logging
This commit is contained in:
parent
6301d2b47f
commit
42ff4410ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue