MCPcopy Index your code
hub / github.com/php/frankenphp / WithLogger

Function WithLogger

options.go:136–142  ·  view source on GitHub ↗

WithLogger configures the global logger to use.

(l *slog.Logger)

Source from the content-addressed store, hash-verified

134
135// WithLogger configures the global logger to use.
136func WithLogger(l *slog.Logger) Option {
137 return func(o *opt) error {
138 o.logger = l
139
140 return nil
141 }
142}
143
144// WithPhpIni configures user defined PHP ini settings.
145func WithPhpIni(overrides map[string]string) Option {

Callers 3

runTestFunction · 0.92
mainFunction · 0.92
StartMethod · 0.92

Calls

no outgoing calls

Tested by 1

runTestFunction · 0.74