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
Click to show internal directories.
Click to hide internal directories.