Commit 60af68bb authored by Brian Tiger Chow's avatar Brian Tiger Chow

rm dead code

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent a84ddcf9
...@@ -6,12 +6,6 @@ import ( ...@@ -6,12 +6,6 @@ import (
"github.com/jbenet/go-ipfs/util" "github.com/jbenet/go-ipfs/util"
) )
var eloggers = map[string]*logging.Logger{}
func init() {
SetupLogging()
}
// EventLogger extends the StandardLogger interface to allow for log items // EventLogger extends the StandardLogger interface to allow for log items
// containing structured metadata // containing structured metadata
type EventLogger interface { type EventLogger interface {
...@@ -79,13 +73,3 @@ func (el *eventLogger) Event(ctx context.Context, event string, metadata ...Logg ...@@ -79,13 +73,3 @@ func (el *eventLogger) Event(ctx context.Context, event string, metadata ...Logg
} }
el.Logger.Info(str) el.Logger.Info(str)
} }
// SetupLogging will initialize the logger backend and set the flags.
func SetupLogging() {
// fmt := logging.DefaultFormatter
// f, err := os.Create("events.ipfslog")
// if err != nil {
// panic("failed to open file for event logger")
// }
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment