(fix): observer lifecycle
Golang lint / lint (push) Successful in 1m5s

(tests): webhook runtime

(doc): logger options
This commit is contained in:
2026-04-29 13:11:54 +03:00
parent 667fa3cc61
commit 4807dec6ae
8 changed files with 127 additions and 7 deletions
+3
View File
@@ -64,10 +64,13 @@ func (opts *APIOpts) SetAPIURL(apiURL string) *APIOpts {
return opts
}
// SetLogFormat sets the output format used by API-managed loggers.
func (opts *APIOpts) SetLogFormat(format utils.LogFormat) *APIOpts {
opts.logFormat = format
return opts
}
// SetLogFormatter sets the formatter used by API-managed logger writers.
func (opts *APIOpts) SetLogFormatter(formatter *sneklog.Formatter) *APIOpts {
opts.logFormatter = formatter
return opts