MCPcopy
hub / github.com/wailsapp/wails / LogPrintf

Function LogPrintf

v2/pkg/runtime/log.go:53–57  ·  view source on GitHub ↗

LogPrintf prints a Print level message

(ctx context.Context, format string, args ...interface{})

Source from the content-addressed store, hash-verified

51
52// LogPrintf prints a Print level message
53func LogPrintf(ctx context.Context, format string, args ...interface{}) {
54 msg := fmt.Sprintf(format, args...)
55 myLogger := getLogger(ctx)
56 myLogger.Print(msg)
57}
58
59// LogTracef prints a Trace level message
60func LogTracef(ctx context.Context, format string, args ...interface{}) {

Callers

nothing calls this directly

Calls 2

getLoggerFunction · 0.85
PrintMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…