MCPcopy
hub / github.com/crowdsecurity/crowdsec / Log

Function Log

pkg/database/ent/client.go:125–129  ·  view source on GitHub ↗

Log sets the logging function for debug mode.

(fn func(...any))

Source from the content-addressed store, hash-verified

123
124// Log sets the logging function for debug mode.
125func Log(fn func(...any)) Option {
126 return func(c *config) {
127 c.log = fn
128 }
129}
130
131// Driver configures the client driver.
132func Driver(driver dialect.Driver) Option {

Callers 1

NewClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected