log_iml

package
v0.28.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

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) MaxSize added in v0.16.0

func (iml *InMemoryLogger) MaxSize() int

func (*InMemoryLogger) Messages

func (iml *InMemoryLogger) Messages() []Message

func (*InMemoryLogger) Write added in v0.28.0

func (iml *InMemoryLogger) Write(entry zapcore.Entry, logFields []zapcore.Field, fields []zapcore.Field)

type Message added in v0.28.0

type Message struct {
	Entry        zapcore.Entry
	Fields       []zapcore.Field
	LoggerFields []zapcore.Field
}

func (Message) FieldsToMap added in v0.28.0

func (msg Message) FieldsToMap() map[string]interface{}

type ZapCore added in v0.28.0

type ZapCore struct {
	zapcore.Core
	// contains filtered or unexported fields
}

func (*ZapCore) Check added in v0.28.0

func (*ZapCore) With added in v0.28.0

func (h *ZapCore) With(fields []zapcore.Field) zapcore.Core

func (*ZapCore) Write added in v0.28.0

func (h *ZapCore) Write(entry zapcore.Entry, fields []zapcore.Field) error

Jump to

Keyboard shortcuts

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