goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any plan to integrate with different log facilities?

watsonjiang opened this issue · comments

Hi there,
I'm using goraft as a component in my application. it seems goraft internally hard-coded the golang standard 'log' pkg as log facility(debug.go), however, my application uses glog.
I wonder if you have plan to integrate glog (or log4go) into goraft, this will makes it more friendly to different project.

//watson

@watsonjiang There are not currently plans to make logging pluggable or change the logging infrastructure. Adding glog would add an extra dependency to go-raft that not everyone wants.