log

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: GPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

View Source
const LOG_FIELD_CONTROLLER = "controller"
View Source
const LOG_FIELD_CORRELATION_ID = "correlation_id"
View Source
const LOG_FIELD_HTTP_METHOD = "http_method"
View Source
const LOG_FIELD_HTTP_PATH = "http_path"
View Source
const LOG_FIELD_HTTP_STATUS = "http_status"
View Source
const LOG_FIELD_RABBIT_ACTION = "rabbit_action"
View Source
const LOG_FIELD_RABBIT_EXCHANGE = "exchange"
View Source
const LOG_FIELD_RABBIT_QUEUE = "queue"
View Source
const LOG_FIELD_SERVER = "server"
View Source
const LOG_FIELD_THREAD = "thread"
View Source
const LOG_FIELD_USER_ID = "user_id"

Variables

This section is empty.

Functions

This section is empty.

Types

type LogRusEntry

type LogRusEntry interface {
	Data() logrus.Fields
	CorrelationId() string
	Info(args ...interface{})
	Error(args ...interface{})
	Warn(args ...interface{})
	Fatal(args ...interface{})
	WithField(key string, value interface{}) LogRusEntry
}

func Get

func Get(
	fluentUrl string,
	serverName string,
) LogRusEntry

Jump to

Keyboard shortcuts

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