Documentation ¶
Index ¶
- type Logger
- func (m *Logger) Debugf(template string, args ...interface{})
- func (m *Logger) Errorf(template string, args ...interface{})
- func (m *Logger) Fatalf(template string, args ...interface{})
- func (m *Logger) Infof(template string, args ...interface{})
- func (m *Logger) SetupJsonLogger(d bool, f *os.File) *zap.SugaredLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Logger *zap.Logger LoggerSugar *zap.SugaredLogger }
func NewCustomLogger ¶
func NewCustomLogger(config *configuration.Config) *Logger
func NewProductionLogger ¶
func NewProductionLogger() *Logger
func (*Logger) SetupJsonLogger ¶
Click to show internal directories.
Click to hide internal directories.