WithTime creates an entry from the standard logger and overrides the time of logs generated with it. Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal or Panic on the Entry it returns.
(t time.Time)
| 86 | // Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal |
| 87 | // or Panic on the Entry it returns. |
| 88 | func WithTime(t time.Time) *Entry { |
| 89 | return std.WithTime(t) |
| 90 | } |
| 91 | |
| 92 | // Trace logs a message at level Trace on the standard logger. |
| 93 | func Trace(args ...interface{}) { |