aboutsummaryrefslogtreecommitdiff
path: root/nexgb/conn.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-16 23:57:26 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-16 23:57:26 -0400
commitacb84171e55d46dc1a5b9cc10b2bff53c2d2846b (patch)
treea318f368d75796fd8d70208523663dcdcdf89b28 /nexgb/conn.go
parent424f293671b256bb5e253eea1cbb83519f4243f3 (diff)
downloadhaven-acb84171e55d46dc1a5b9cc10b2bff53c2d2846b.tar.gz
haven-acb84171e55d46dc1a5b9cc10b2bff53c2d2846b.tar.xz
haven-acb84171e55d46dc1a5b9cc10b2bff53c2d2846b.zip
Add new logger type so that it can be shut off.
Diffstat (limited to 'nexgb/conn.go')
-rw-r--r--nexgb/conn.go4
1 files changed, 2 insertions, 2 deletions
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