1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

Minimally invasive change to put logging behind a user-replaceable interface.

This could probably be done better, and there are probably awful caveats
and hidden gotchas with this approach. I REGRET NOTHING.
This commit is contained in:
Alex Bramley 2013-09-27 22:19:40 +01:00
parent 06a9cb5d0f
commit 5bb0c8278d
10 changed files with 60 additions and 15 deletions

View file

@ -2,7 +2,7 @@ package state
import (
"fmt"
"github.com/fluffle/golog/logging"
"github.com/fluffle/goirc/logging"
"reflect"
"strconv"
)

View file

@ -1,7 +1,7 @@
package state
import (
"github.com/fluffle/golog/logging"
"github.com/fluffle/goirc/logging"
"reflect"
)

View file

@ -1,7 +1,7 @@
package state
import (
"github.com/fluffle/golog/logging"
"github.com/fluffle/goirc/logging"
)
// The state manager interface

View file

@ -1,7 +1,7 @@
package state
import (
"github.com/fluffle/golog/logging"
"github.com/fluffle/goirc/logging"
"testing"
)