event

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Time     time.Time
	Module   string
	Level    level.Level
	Fields   Fields
	Messages []interface{}
}

type Fields

type Fields struct {
	CustomFields map[string]interface{}
	GlobalFields map[string]interface{}
}

func (Fields) String

func (f Fields) String(excludes ...string) string

func (Fields) ToMap

func (f Fields) ToMap(excludes ...string) map[string]interface{}

Jump to

Keyboard shortcuts

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