MCPcopy
hub / github.com/robfig/cron / WithLogger

Function WithLogger

option.go:41–45  ·  view source on GitHub ↗

WithLogger uses the provided logger.

(logger Logger)

Source from the content-addressed store, hash-verified

39
40// WithLogger uses the provided logger.
41func WithLogger(logger Logger) Option {
42 return func(c *Cron) {
43 c.logger = logger
44 }
45}

Callers 1

TestWithVerboseLoggerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestWithVerboseLoggerFunction · 0.68