package
0.0.0-20230316133818-8dd2b793edb9
Repository: https://github.com/vovchikus/events-api.git
Documentation: pkg.go.dev
# Functions
NewInterfaceMock returns a mock for Interface.
NewLogrusLogger - Инициализация логгера.
NewZapLogger - инициализация логгера.
# Structs
Configuration - объект конфигурации логгера.
InterfaceMock implements Interface.
InterfaceMockDebugExpectation specifies expectation struct of the Interface.Debug.
InterfaceMockDebugParams contains parameters of the Interface.Debug.
InterfaceMockErrorExpectation specifies expectation struct of the Interface.Error.
InterfaceMockErrorParams contains parameters of the Interface.Error.
InterfaceMockFatalExpectation specifies expectation struct of the Interface.Fatal.
InterfaceMockFatalParams contains parameters of the Interface.Fatal.
InterfaceMockInfoExpectation specifies expectation struct of the Interface.Info.
InterfaceMockInfoParams contains parameters of the Interface.Info.
InterfaceMockPanicExpectation specifies expectation struct of the Interface.Panic.
InterfaceMockPanicParams contains parameters of the Interface.Panic.
InterfaceMockPrintfExpectation specifies expectation struct of the Interface.Printf.
InterfaceMockPrintfParams contains parameters of the Interface.Printf.
InterfaceMockWarnExpectation specifies expectation struct of the Interface.Warn.
InterfaceMockWarnParams contains parameters of the Interface.Warn.
InterfaceMockWithFieldsExpectation specifies expectation struct of the Interface.WithFields.
InterfaceMockWithFieldsParams contains parameters of the Interface.WithFields.
InterfaceMockWithFieldsResults contains results of the Interface.WithFields.
# Interfaces
Interface - интерфейс логгера.
# Type aliases
Fields - интерфейс набора дополнительных полей.