MCPcopy Index your code
hub / github.com/dnote/dnote / newEntry

Function newEntry

pkg/server/log/log.go:56–61  ·  view source on GitHub ↗
(fields Fields)

Source from the content-addressed store, hash-verified

54}
55
56func newEntry(fields Fields) Entry {
57 return Entry{
58 Fields: fields,
59 Timestamp: time.Now().UTC(),
60 }
61}
62
63// WithFields creates a log entry with the given fields
64func WithFields(fields Fields) Entry {

Callers 5

WithFieldsFunction · 0.85
DebugFunction · 0.85
InfoFunction · 0.85
ErrorFunction · 0.85
ErrorWrapFunction · 0.85

Calls 1

NowMethod · 0.65

Tested by

no test coverage detected