MCPcopy
hub / github.com/gourouting/singo / Println

Method Println

util/logger.go:28–30  ·  view source on GitHub ↗

Println prints a message.

(msg string)

Source from the content-addressed store, hash-verified

26
27// Println prints a message.
28func (ll *Logger) Println(msg string) {
29 fmt.Printf("%s %s", time.Now().Format("2006-01-02 15:04:05 -0700"), msg)
30}
31
32// Panic logs a fatal error and exits.
33func (ll *Logger) Panic(format string, v ...interface{}) {

Callers 5

PanicMethod · 0.95
ErrorMethod · 0.95
WarningMethod · 0.95
InfoMethod · 0.95
DebugMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected