Documentation
¶
Index ¶
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) 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.