Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
56
func
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
64
func
WithFields(fields Fields) Entry {
Callers
5
WithFields
Function · 0.85
Debug
Function · 0.85
Info
Function · 0.85
Error
Function · 0.85
ErrorWrap
Function · 0.85
Calls
1
Now
Method · 0.65
Tested by
no test coverage detected