entry: remove duplicate hook for debug level

This commit is contained in:
Simon Eskildsen 2014-05-03 20:42:28 -04:00
parent b65435d801
commit 11a9ddab08
1 changed files with 0 additions and 1 deletions

View File

@ -85,7 +85,6 @@ func (entry *Entry) log(level string, levelInt Level, msg string) string {
func (entry *Entry) Debug(args ...interface{}) {
if entry.Logger.Level >= Debug {
entry.log("debug", Debug, fmt.Sprint(args...))
entry.Logger.Hooks.Fire(Debug, entry)
}
}