MCPcopy Create free account
hub / github.com/opencloud-eu/opencloud / Logger

Function Logger

services/postprocessing/pkg/server/debug/option.go:32–36  ·  view source on GitHub ↗

Logger provides a function to set the logger option.

(val log.Logger)

Source from the content-addressed store, hash-verified

30
31// Logger provides a function to set the logger option.
32func Logger(val log.Logger) Option {
33 return func(o *Options) {
34 o.Logger = val
35 }
36}
37
38// Context provides a function to set the context option.
39func Context(val context.Context) Option {

Callers 1

ServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected