token modify

This commit is contained in:
Gordon 2021-12-28 18:05:25 +08:00
parent 3ec1d1a965
commit 7ee703f077

View File

@ -24,7 +24,7 @@ func (f *fileHook) Levels() []logrus.Level {
}
func (f *fileHook) Fire(entry *logrus.Entry) error {
entry.Data["FilePath"] = findCaller(5)
entry.Data["FilePath"] = findCaller(6)
return nil
}