Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
41
func
WithLogger(logger Logger) Option {
42
return
func
(c *Cron) {
43
c.logger = logger
44
}
45
}
Callers
1
TestWithVerboseLogger
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestWithVerboseLogger
Function · 0.68