From acb84171e55d46dc1a5b9cc10b2bff53c2d2846b Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Wed, 16 May 2012 23:57:26 -0400 Subject: Add new logger type so that it can be shut off. --- nexgb/conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nexgb/conn.go') diff --git a/nexgb/conn.go b/nexgb/conn.go index 62c31e9..9baf86c 100644 --- a/nexgb/conn.go +++ b/nexgb/conn.go @@ -33,8 +33,8 @@ func (c *Conn) connect(display string) error { authName, authData, err := readAuthority(c.host, c.display) noauth := false if err != nil { - Logger.Printf("Could not get authority info: %v", err) - Logger.Println("Trying connection without authority info...") + logger.Printf("Could not get authority info: %v", err) + logger.Println("Trying connection without authority info...") authName = "" authData = []byte{} noauth = true -- cgit v1.2.3-70-g09d2