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:
parent
06a9cb5d0f
commit
5bb0c8278d
10 changed files with 60 additions and 15 deletions
|
@ -2,7 +2,7 @@ package state
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/fluffle/golog/logging"
|
||||
"github.com/fluffle/goirc/logging"
|
||||
"reflect"
|
||||
"strconv"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package state
|
||||
|
||||
import (
|
||||
"github.com/fluffle/golog/logging"
|
||||
"github.com/fluffle/goirc/logging"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package state
|
||||
|
||||
import (
|
||||
"github.com/fluffle/golog/logging"
|
||||
"github.com/fluffle/goirc/logging"
|
||||
)
|
||||
|
||||
// The state manager interface
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package state
|
||||
|
||||
import (
|
||||
"github.com/fluffle/golog/logging"
|
||||
"github.com/fluffle/goirc/logging"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue