Documentation
¶
Index ¶
- type LogService
- func (l *LogService) Debug(msg string, fields ...zap.Field)
- func (l *LogService) Error(msg string, err error, fields ...zap.Field)
- func (l *LogService) Errorf(msg string, err error, fields ...zap.Field) error
- func (l *LogService) Info(msg string, fields ...zap.Field)
- func (l *LogService) Printf(format string, args ...interface{})
- func (l *LogService) Sync() error
- func (l *LogService) Warn(msg string, fields ...zap.Field)
- func (l *LogService) With(fields ...zap.Field) *LogService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
func NewLogService ¶
func NewLogService() (*LogService, error)
func (*LogService) Printf ¶
func (l *LogService) Printf(format string, args ...interface{})
func (*LogService) Sync ¶
func (l *LogService) Sync() error
CALL ON EXIT (PROBABLY PUTTING THIS IN DEFER)
func (*LogService) With ¶
func (l *LogService) With(fields ...zap.Field) *LogService
Click to show internal directories.
Click to hide internal directories.