MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / WithTime

Function WithTime

utils/log/logwrapper.go:261–263  ·  view source on GitHub ↗

WithTime add time fields to log entry.

(t time.Time)

Source from the content-addressed store, hash-verified

259
260// WithTime add time fields to log entry.
261func WithTime(t time.Time) *Entry {
262 return (*Entry)(logrus.WithTime(t))
263}
264
265// Debug logs a message at level Debug on the standard logger.
266func Debug(args ...interface{}) {

Callers 1

TestWithFieldFunction · 0.85

Calls 1

WithTimeMethod · 0.80

Tested by 1

TestWithFieldFunction · 0.68