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)
| 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 |
no outgoing calls
no test coverage detected