MCPcopy Create free account
hub / github.com/One-com/gone / DoTime

Method DoTime

log/gonelog.go:192–201  ·  view source on GitHub ↗

DoTime tries to turn on or off timestamping. It can fail if some other go-routine simultaneous is manipulating the config. If the generated log-events are not timestamped on creation some formatters will create their own timestamp anyway. Having this global option saves time.Now() calls if no one is

(doTime bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

NewFunction · 0.95
SetFlagsMethod · 0.95
BenchmarkFlxPrintlnFunction · 0.95
MinimalFunction · 0.80

Calls

no outgoing calls

Tested by 5

BenchmarkFlxPrintlnFunction · 0.76