Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryLogger ¶
type InMemoryLogger struct {
// contains filtered or unexported fields
}
func Get ¶
func Get() *InMemoryLogger
func (*InMemoryLogger) Flush ¶ added in v0.16.0
func (iml *InMemoryLogger) Flush()
func (*InMemoryLogger) Hook ¶ added in v0.15.0
func (iml *InMemoryLogger) Hook() zap.Option
func (*InMemoryLogger) MaxSize ¶ added in v0.16.0
func (iml *InMemoryLogger) MaxSize() int
func (*InMemoryLogger) Messages ¶
func (iml *InMemoryLogger) Messages() []zapcore.Entry
Click to show internal directories.
Click to hide internal directories.