MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / SetLogger

Function SetLogger

logger.go:22–24  ·  view source on GitHub ↗

SetLogger Set the internal logger for nutsdb.

(logger ILogger)

Source from the content-addressed store, hash-verified

20
21// SetLogger Set the internal logger for nutsdb.
22func SetLogger(logger ILogger) {
23 utils.SetLogger(logger)
24}
25
26// GetLogger Get the internal logger for nutsdb.
27func GetLogger() ILogger {

Callers 1

ExampleILogger_PrintfFunction · 0.92

Calls 1

SetLoggerFunction · 0.92

Tested by 1

ExampleILogger_PrintfFunction · 0.74