mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-16 08:27:55 +00:00
Logging WIP
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ func (e *Event) Fields(fields map[string]any) *Event {
|
||||
return e
|
||||
}
|
||||
|
||||
func (e *Event) Context(contexts ...Ctx) *Event {
|
||||
func (e *Event) Context(contexts ...Contexter) *Event {
|
||||
for _, c := range contexts {
|
||||
e.Fields(c.Context())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user