Documentation
¶
Index ¶
- func ReplaceGlobals(logger *MainLogger)
- type Config
- type MainLogger
- func (l *MainLogger) Debug(msg string, fields ...field.Field)
- func (l *MainLogger) Error(msg string, fields ...field.Field)
- func (l *MainLogger) Fatal(msg string, fields ...field.Field)
- func (l *MainLogger) Info(msg string, fields ...field.Field)
- func (l *MainLogger) Panic(msg string, fields ...field.Field)
- func (l *MainLogger) Warn(msg string, fields ...field.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceGlobals ¶
func ReplaceGlobals(logger *MainLogger)
Types ¶
type MainLogger ¶
type MainLogger struct {
// contains filtered or unexported fields
}
func L ¶
func L(optionalCtx ...context.Context) *MainLogger
func NewProduction ¶
func NewProduction(ctx context.Context, cfg Config, contacts ...contactpoints.ContactPoint) (*MainLogger, error)
Click to show internal directories.
Click to hide internal directories.