entry: remove duplicate hook for debug level
This commit is contained in:
@@ -85,7 +85,6 @@ func (entry *Entry) log(level string, levelInt Level, msg string) string {
|
|||||||
func (entry *Entry) Debug(args ...interface{}) {
|
func (entry *Entry) Debug(args ...interface{}) {
|
||||||
if entry.Logger.Level >= Debug {
|
if entry.Logger.Level >= Debug {
|
||||||
entry.log("debug", Debug, fmt.Sprint(args...))
|
entry.log("debug", Debug, fmt.Sprint(args...))
|
||||||
entry.Logger.Hooks.Fire(Debug, entry)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user