MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / Make

Method Make

log/logger.go:60–60  ·  view source on GitHub ↗

Make creates a new logger with the specified configuration and module. - config is the configuration structure. Return: - Logger is the logger created. - error is returned if the configuration was invalid.

(config config.LogConfig)

Source from the content-addressed store, hash-verified

58 // - Logger is the logger created.
59 // - error is returned if the configuration was invalid.
60 Make(config config.LogConfig) (Logger, error)
61
62 // MustMake is identical to Make but panics if an error happens
63 MustMake(config config.LogConfig) Logger

Callers 4

MainFunction · 0.95
NewFunction · 0.65
readConfigFileFunction · 0.65
NewLoggerFunction · 0.65

Implementers 1

loggerFactorylog/logger_factory.go

Calls

no outgoing calls

Tested by

no test coverage detected