message

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 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 Entry

type Entry struct {
	LogName string
	//FileName   string
	//FilePath   string
	//CallerName string
	//CallerLine int
	ErrMsg    string
	Message   string
	TraceID   string
	RoutineID int64
	Time      time.Time
	Level     level.LogLevel
	Caller    *runtime.Frame
}

type Message added in v0.4.0

type Message struct {
	Pid        int    `json:"pid,omitempty"`
	RoutineID  int64  `json:"routine_id,omitempty"`
	Service    string `json:"module,omitempty"`
	Level      string `json:"level,omitempty"`
	Datetime   string `json:"datetime,omitempty"`
	Timestamp  int64  `json:"timestamp,omitempty"`
	CallerLine int    `json:"caller_line,omitempty"`
	CallerPath string `json:"caller_path,omitempty"`
	CallerName string `json:"caller_name,omitempty"`
	IP         string `json:"ip,omitempty"`
	HostName   string `json:"host,omitempty"`
	TraceID    string `json:"trade_id,omitempty"`
	Message    string `json:"msg,omitempty"`
	ErrMsg     string `json:"err_msg,omitempty"`
}

Jump to

Keyboard shortcuts

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