From 88d804e32a90b7c3ed9e464bdaadab4761d65342 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Fri, 3 Oct 2014 14:45:00 -0700 Subject: [PATCH] added core logging --- core/core.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core.go b/core/core.go index dd5887ef5..decec6307 100644 --- a/core/core.go +++ b/core/core.go @@ -9,6 +9,7 @@ import ( ds "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/datastore.go" b58 "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-base58" ma "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr" + logging "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/op/go-logging" bserv "github.com/jbenet/go-ipfs/blockservice" config "github.com/jbenet/go-ipfs/config" @@ -27,6 +28,8 @@ import ( u "github.com/jbenet/go-ipfs/util" ) +var log = logging.MustGetLogger("core") + // IpfsNode is IPFS Core module. It represents an IPFS instance. type IpfsNode struct {