MCPcopy
hub / github.com/dnote/dnote / WithFields

Function WithFields

pkg/server/log/log.go:64–66  ·  view source on GitHub ↗

WithFields creates a log entry with the given fields

(fields Fields)

Source from the content-addressed store, hash-verified

62
63// WithFields creates a log entry with the given fields
64func WithFields(fields Fields) Entry {
65 return newEntry(fields)
66}
67
68// SetLevel sets the global log level
69func SetLevel(level string) {

Callers 9

SendEmailMethod · 0.92
PasswordUpdateMethod · 0.92
ProfileUpdateMethod · 0.92
GetSyncStateMethod · 0.92
DoErrorFunction · 0.92
LoggingFunction · 0.92
LimitMethod · 0.92
migrateFunction · 0.92
startCmdFunction · 0.92

Calls 1

newEntryFunction · 0.85

Tested by

no test coverage detected