Documentation
¶
Index ¶
- type TransLogger
- func (al *TransLogger) GetRequestInfo(requestId string, requestPath string)
- func (al *TransLogger) PostRequestInfo(requestId string, requestPath string, requestBody string)
- func (al *TransLogger) RequestInfo(requestId string, requestMethod string, requestPath string, requestBody string)
- func (al *TransLogger) ResponseInfo(requestId string, durationMs string, status int, responseBody string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransLogger ¶
type TransLogger struct {
// contains filtered or unexported fields
}
var TransLog TransLogger
func NewTransLogger ¶
func NewTransLogger(appName string) *TransLogger
func (*TransLogger) GetRequestInfo ¶ added in v0.4.0
func (al *TransLogger) GetRequestInfo(requestId string, requestPath string)
func (*TransLogger) PostRequestInfo ¶ added in v0.4.0
func (al *TransLogger) PostRequestInfo(requestId string, requestPath string, requestBody string)
func (*TransLogger) RequestInfo ¶ added in v0.3.0
func (al *TransLogger) RequestInfo(requestId string, requestMethod string, requestPath string, requestBody string)
func (*TransLogger) ResponseInfo ¶ added in v0.3.0
func (al *TransLogger) ResponseInfo(requestId string, durationMs string, status int, responseBody string)
Click to show internal directories.
Click to hide internal directories.