package
0.2.13
Repository: https://github.com/xgxw/foundation-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
New create a logrus entry instance and return.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ContextFields contains values travel through the hole request or job.
Entry
Entry is wrapper of logrus.Entry which provides some methods to log structured data.
Logger hold a logrus.Logger.
MetricsFields is used to log system metrics.
Options configuration for logrus.
PayloadFields is used to log request payload, either request body or response body.
ProcessMetricsFields is use to log process states.
ServerFields contains request basic information on server.

# Type aliases

ClientFields is same as ServerFields, except you should set Kind to `client`.
No description provided by the author
No description provided by the author