models

package
v0.0.0-...-4b49aa7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel = "debug"
	InfoLevel  = "info"
	WarnLevel  = "warning"
	ErrorLevel = "error"
)

Log levels

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	AppName    string `json:"app,omitempty"`
	Version    string `json:"version,omitempty"`
	SessionID  string `json:"sessionId,omitempty"`
	ClientID   string `json:"clientId,omitempty"`
	Message    string `json:"message,omitempty"`
	Stacktrace string `json:"stacktrace,omitempty"`
	Level      string `json:"level,omitempty"`
}

Event log event.

func (*Event) String

func (e *Event) String() string

Jump to

Keyboard shortcuts

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