Documentation
¶
Index ¶
- type Fields
- type ILogger
- type Logger
- func (s *Logger) CloseStream()
- func (s *Logger) Error(args ...interface{})
- func (s *Logger) ErrorContextWithField(ctx context.Context, fields Fields)
- func (s *Logger) ErrorWithContext(ctx context.Context, stage utils.ErrorStage, args ...interface{})
- func (s *Logger) ErrorWithField(fields Fields)
- func (s *Logger) Errorf(format string, args ...interface{})
- func (s *Logger) Fatal(args ...interface{})
- func (s *Logger) Fatalf(format string, args ...interface{})
- func (s *Logger) Info(args ...interface{})
- func (s *Logger) InfoContextWithField(ctx context.Context, fields Fields)
- func (s *Logger) InfoWithContext(ctx context.Context, stage utils.ErrorStage, args ...interface{})
- func (s *Logger) InfoWithField(fields Fields)
- func (s *Logger) Infof(format string, args ...interface{})
- func (s *Logger) Panic(args ...interface{})
- func (s *Logger) Panicf(format string, args ...interface{})
- func (s *Logger) Warning(args ...interface{})
- func (s *Logger) Warningf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILogger ¶
type ILogger interface {
Info(args ...interface{})
Warning(args ...interface{})
Error(args ...interface{})
Fatal(args ...interface{})
Panic(args ...interface{})
Infof(format string, args ...interface{})
Warningf(format string, args ...interface{})
Errorf(format string, args ...interface{})
Fatalf(format string, args ...interface{})
Panicf(format string, args ...interface{})
InfoWithField(fields Fields)
ErrorWithField(fields Fields)
InfoWithContext(ctx context.Context, stage utils.ErrorStage, args ...interface{})
ErrorWithContext(ctx context.Context, stage utils.ErrorStage, args ...interface{})
InfoContextWithField(ctx context.Context, fields Fields)
ErrorContextWithField(ctx context.Context, fields Fields)
CloseStream()
}
type Logger ¶
func (*Logger) CloseStream ¶
func (s *Logger) CloseStream()
func (*Logger) ErrorContextWithField ¶
func (*Logger) ErrorWithContext ¶
func (s *Logger) ErrorWithContext(ctx context.Context, stage utils.ErrorStage, args ...interface{})
func (*Logger) ErrorWithField ¶
func (*Logger) InfoContextWithField ¶
func (*Logger) InfoWithContext ¶
func (s *Logger) InfoWithContext(ctx context.Context, stage utils.ErrorStage, args ...interface{})
func (*Logger) InfoWithField ¶
Click to show internal directories.
Click to hide internal directories.