Documentation ¶ Index ¶ type Log type Memory func NewMemory() *Memory func (m *Memory) Debug(msg string, fields ...zap.Field) func (m *Memory) Entries() []Log func (m *Memory) Error(msg string, fields ...zap.Field) func (m *Memory) Info(msg string, fields ...zap.Field) func (m *Memory) Warn(msg string, fields ...zap.Field) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Log ¶ type Log struct { Level string Message string Fields []zap.Field } type Memory ¶ type Memory struct { // contains filtered or unexported fields } func NewMemory ¶ func NewMemory() *Memory func (*Memory) Debug ¶ func (m *Memory) Debug(msg string, fields ...zap.Field) func (*Memory) Entries ¶ func (m *Memory) Entries() []Log func (*Memory) Error ¶ func (m *Memory) Error(msg string, fields ...zap.Field) func (*Memory) Info ¶ func (m *Memory) Info(msg string, fields ...zap.Field) func (*Memory) Warn ¶ func (m *Memory) Warn(msg string, fields ...zap.Field) Source Files ¶ View all Source files memory.go Click to show internal directories. Click to hide internal directories.