Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "request_logger_id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBLogger ¶
type DBLogger struct {
// contains filtered or unexported fields
}
func (*DBLogger) LogRequest ¶
func (*DBLogger) LogResponse ¶
type IRequestLogger ¶
type IRequestLogger interface { LogRequest(ormService *beeorm.Engine, appName, url string, request *http.Request, contentType string) *entity.RequestLoggerEntity LogResponse(ormService *beeorm.Engine, requestLoggerEntity *entity.RequestLoggerEntity, responseBody []byte, status int) }
func NewDBLogger ¶
func NewDBLogger(clockService clock.IClock) IRequestLogger
Click to show internal directories.
Click to hide internal directories.