Documentation ¶ Index ¶ Variables type Logger func NewLogger() (*Logger, error) func (l *Logger) Error(message string, err error, fields ...domain.Field) func (l *Logger) Field(key string, message interface{}) domain.Field func (l *Logger) Info(message string, fields ...domain.Field) Constants ¶ This section is empty. Variables ¶ View Source var NewLoggerSet = wire.NewSet( wire.Bind(new(domain.Logger), new(*Logger)), NewLogger, ) Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger struct { // contains filtered or unexported fields } func NewLogger ¶ func NewLogger() (*Logger, error) func (*Logger) Error ¶ func (l *Logger) Error(message string, err error, fields ...domain.Field) func (*Logger) Field ¶ func (l *Logger) Field(key string, message interface{}) domain.Field func (*Logger) Info ¶ func (l *Logger) Info(message string, fields ...domain.Field) Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.