From 4f607dd9719d0c12d6ebcbadb97cd5baab94080b Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 23 Mar 2018 12:27:41 +0900 Subject: [PATCH] ing --- client/socket.go | 4 ++-- socket.go | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/client/socket.go b/client/socket.go index 9324c66..841dff0 100644 --- a/client/socket.go +++ b/client/socket.go @@ -80,13 +80,13 @@ func (s *netSocket) Context() SocketContext { func (s *netSocket) Read(b []byte) (n int, err error) { n, err = s.Conn.Read(b) - logging.Logger().Debugf("Client Socket: read message[%s]", string(b)) + // logging.Logger().Debugf("Client Socket: read message[%s]", string(b)) return } func (s *netSocket) Write(b []byte) (n int, err error) { - logging.Logger().Debugf("Client Socket: write message[%s]", string(b)) + // logging.Logger().Debugf("Client Socket: write message[%s]", string(b)) return s.Conn.Write(b) } diff --git a/socket.go b/socket.go index 1386a69..c0f13a8 100644 --- a/socket.go +++ b/socket.go @@ -4,8 +4,6 @@ import ( "net" "sync" "time" - - "git.loafle.net/commons_go/logging" ) type Socket interface { @@ -52,13 +50,13 @@ func (s *netSocket) ID() string { func (s *netSocket) Read(b []byte) (n int, err error) { n, err = s.Conn.Read(b) - logging.Logger().Debugf("Server Socket: read message[%s]", string(b)) + // logging.Logger().Debugf("Server Socket: read message[%s]", string(b)) return } func (s *netSocket) Write(b []byte) (n int, err error) { - logging.Logger().Debugf("Server Socket: write message[%s]", string(b)) + // logging.Logger().Debugf("Server Socket: write message[%s]", string(b)) return s.Conn.Write(b) }