Documentation ¶
Index ¶
- type ExtendedLogger
- func (l *ExtendedLogger) EventAppeared(groupName string, event *esdb.ResolvedEvent, workerID int)
- func (l *ExtendedLogger) GrpcClientInterceptorLogger(method string, req, reply interface{}, time time.Duration, ...)
- func (l *ExtendedLogger) GrpcMiddlewareAccessLogger(method string, time time.Duration, metaData map[string][]string, err error)
- func (l *ExtendedLogger) HttpMiddlewareAccessLogger(method, uri string, status int, size int64, time time.Duration)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedLogger ¶
type ExtendedLogger struct {
common_logger.AppLogger
}
func NewExtendedAppLogger ¶
func NewExtendedAppLogger(cfg *common_logger.Config) *ExtendedLogger
func (*ExtendedLogger) EventAppeared ¶
func (l *ExtendedLogger) EventAppeared(groupName string, event *esdb.ResolvedEvent, workerID int)
func (*ExtendedLogger) GrpcClientInterceptorLogger ¶
func (*ExtendedLogger) GrpcMiddlewareAccessLogger ¶
func (*ExtendedLogger) HttpMiddlewareAccessLogger ¶
type Logger ¶
type Logger interface { common_logger.Logger HttpMiddlewareAccessLogger(method string, uri string, status int, size int64, time time.Duration) GrpcMiddlewareAccessLogger(method string, time time.Duration, metaData map[string][]string, err error) GrpcClientInterceptorLogger(method string, req interface{}, reply interface{}, time time.Duration, metaData map[string][]string, err error) EventAppeared(groupName string, event *esdb.ResolvedEvent, workerID int) }
Logger methods interface
Click to show internal directories.
Click to hide internal directories.