From f4ec34d9d9e2e185b1104a5228c582d11560f6f1 Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Wed, 16 May 2012 23:26:19 -0400 Subject: export logger so it can be disabled --- conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conn.go') diff --git a/conn.go b/conn.go index 9baf86c..62c31e9 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 -- cgit v1.2.3