context

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerContext

type LoggerContext struct {
	// contains filtered or unexported fields
}

func NewLoggerContext

func NewLoggerContext() *LoggerContext

func (*LoggerContext) ChangeOneContext

func (l *LoggerContext) ChangeOneContext(key string, value any)

func (*LoggerContext) Clear

func (l *LoggerContext) Clear()

func (*LoggerContext) Consume

func (l *LoggerContext) Consume() map[string]any

func (*LoggerContext) RemoveContext

func (l *LoggerContext) RemoveContext(key string)

func (*LoggerContext) SetContext

func (l *LoggerContext) SetContext(key string, value any)

Jump to

Keyboard shortcuts

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