summaryrefslogtreecommitdiff
path: root/conn.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-16 23:57:26 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-16 23:57:26 -0400
commitcb3b697335e3fe48cc89b8fcab09c3c7ed124439 (patch)
treeb843af0c7593f45476574a90e015962683c06354 /conn.go
parentf4ec34d9d9e2e185b1104a5228c582d11560f6f1 (diff)
Add new logger type so that it can be shut off.
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 62c31e9..9baf86c 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