func (l *Logger) fireHook(level logrus.Level, entry logrus.Entry, msg string) { entry.Time = time.Now() entry.Message = msg entry.Level = level l.logHooks.Fire(level, &entry) }