mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Fix up half-arsed logging shims; set depth.
This commit is contained in:
parent
a3debed539
commit
d1162c0f7b
3 changed files with 37 additions and 8 deletions
|
@ -5,6 +5,7 @@ import (
|
|||
"flag"
|
||||
"fmt"
|
||||
irc "github.com/fluffle/goirc/client"
|
||||
"github.com/fluffle/goirc/logging/glog"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
@ -14,6 +15,7 @@ var channel *string = flag.String("channel", "#go-nuts", "IRC channel")
|
|||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
glog.Init()
|
||||
|
||||
// create new IRC connection
|
||||
c := irc.SimpleClient("GoTest", "gotest")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue