@cryptotaxi247 / kubo / commits / 88d804e32

added core logging

Juan Batiz-Benet committed Oct 3, 2014 at 14:45 UTC 88d804e32a90b7c3ed9e464bdaadab4761d65342
1 file changed +3
core/core.go
+3
@@ -9,6 +9,7 @@ import (
9 ds "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/datastore.go"
10 b58 "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-base58"
11 ma "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
12 + logging "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/op/go-logging"
13
14 bserv "github.com/jbenet/go-ipfs/blockservice"
15 config "github.com/jbenet/go-ipfs/config"
@@ -27,6 +28,8 @@ import (
28 u "github.com/jbenet/go-ipfs/util"
29 )
30
31 +var log = logging.MustGetLogger("core")
32 +
33 // IpfsNode is IPFS Core module. It represents an IPFS instance.
34 type IpfsNode struct {
35