loggertest

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL