MCPcopy
hub / github.com/labstack/echo / SetLogger

Method SetLogger

context.go:750–752  ·  view source on GitHub ↗

SetLogger sets logger in Context

(logger *slog.Logger)

Source from the content-addressed store, hash-verified

748
749// SetLogger sets logger in Context
750func (c *Context) SetLogger(logger *slog.Logger) {
751 c.logger = logger
752}
753
754// Echo returns the `Echo` instance.
755func (c *Context) Echo() *Echo {

Callers 1

TestLoggerFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestLoggerFunction · 0.76