MCPcopy
hub / github.com/NVIDIA/aistore / prependTime

Function prependTime

devtools/tlog/log.go:14–16  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

12)
13
14func prependTime(msg string) string {
15 return fmt.Sprintf("[%s] %s", time.Now().Format("15:04:05.000000"), msg)
16}
17
18func Logln(msg string) {
19 if testing.Verbose() {

Callers 2

LoglnFunction · 0.85
LogfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected