Versions in this module Expand all Collapse all v2 v2.0.4 May 3, 2023 Changes in this version + type Logger interface + Error func() *zerolog.Event + Log func() *zerolog.Event + Verbose func() *zerolog.Event + func NewLogger(args LoggerArgs) Logger + type LoggerArgs struct + Verbose bool + Writer io.Writer + type MockLogger struct + func NewMockLogger(ctrl *gomock.Controller) *MockLogger + func (m *MockLogger) EXPECT() *MockLoggerMockRecorder + func (m *MockLogger) Error() *zerolog.Event + func (m *MockLogger) Log() *zerolog.Event + func (m *MockLogger) Verbose() *zerolog.Event + type MockLoggerMockRecorder struct + func (mr *MockLoggerMockRecorder) Error() *gomock.Call + func (mr *MockLoggerMockRecorder) Log() *gomock.Call + func (mr *MockLoggerMockRecorder) Verbose() *gomock.Call + type MockWriter struct + func NewMockWriter(ctrl *gomock.Controller) *MockWriter + func (m *MockWriter) EXPECT() *MockWriterMockRecorder + func (m *MockWriter) Write(p []byte) (int, error) + func (m *MockWriter) WriteLevel(level zerolog.Level, p []byte) (int, error) + type MockWriterMockRecorder struct + func (mr *MockWriterMockRecorder) Write(p interface{}) *gomock.Call + func (mr *MockWriterMockRecorder) WriteLevel(level, p interface{}) *gomock.Call + type Writer interface + Write func(p []byte) (n int, err error) + WriteLevel func(level zerolog.Level, p []byte) (n int, err error) + func NewWriter() Writer