diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-16 23:57:26 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-16 23:57:26 -0400 |
| commit | cb3b697335e3fe48cc89b8fcab09c3c7ed124439 (patch) | |
| tree | b843af0c7593f45476574a90e015962683c06354 /conn.go | |
| parent | f4ec34d9d9e2e185b1104a5228c582d11560f6f1 (diff) | |
Add new logger type so that it can be shut off.
Diffstat (limited to 'conn.go')
| -rw-r--r-- | conn.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
