aboutsummaryrefslogtreecommitdiff
path: root/nexgb/conn.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-16 23:26:19 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-16 23:26:19 -0400
commit424f293671b256bb5e253eea1cbb83519f4243f3 (patch)
treefd4edfb98433197d2a4f65cba7e17084781df0a6 /nexgb/conn.go
parent45a4ee92ebe7a20ed78777e53b69c4a2f810c5d8 (diff)
downloadhaven-424f293671b256bb5e253eea1cbb83519f4243f3.tar.gz
haven-424f293671b256bb5e253eea1cbb83519f4243f3.tar.xz
haven-424f293671b256bb5e253eea1cbb83519f4243f3.zip
export logger so it can be disabled
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 9baf86c..62c31e9 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