summaryrefslogtreecommitdiff
path: root/conn.go
diff options
context:
space:
mode:
authorAndrew Gallant <[email protected]>2013-08-22 19:30:46 -0700
committerAndrew Gallant <[email protected]>2013-08-22 19:30:46 -0700
commitd310a02534d5a8910b6b2b2cdba9e71420fb0762 (patch)
tree8b29768f8dec371458ead98b1bd7f0d981adf9bc /conn.go
parenteb7c38953b074e33f86861a3da4c05623cd44fc6 (diff)
parentd9eaa7fc3887a20142a4b27eebe0ee9afbcc1a13 (diff)
Merge pull request #10 from Merovius/logging
Export the logger (again)
Diffstat (limited to 'conn.go')
-rw-r--r--conn.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/conn.go b/conn.go
index 7f4cf08..41ba5a8 100644
--- a/conn.go
+++ b/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