MCPcopy
hub / github.com/qvest-digital/loginsrv / Application

Function Application

logging/logger.go:170–176  ·  view source on GitHub ↗

Return a log entry for application logs, prefilled with the correlation ids out of the supplied request.

(h http.Header)

Source from the content-addressed store, hash-verified

168// Return a log entry for application logs,
169// prefilled with the correlation ids out of the supplied request.
170func Application(h http.Header) *logrus.Entry {
171 fields := logrus.Fields{
172 "type": "application",
173 }
174 setCorrelationIds(fields, h)
175 return Logger.WithFields(fields)
176}
177
178// LifecycleStart logs the start of an application
179// with the configuration struct or map as paramter.

Callers 8

allowRedirectMethod · 0.92
getRedirectTargetMethod · 0.92
handleOauthMethod · 0.92
handleAuthenticationMethod · 0.92
handleRefreshMethod · 0.92
respondAuthenticatedMethod · 0.92
Test_Logger_ApplicationFunction · 0.85

Calls 1

setCorrelationIdsFunction · 0.85

Tested by 1

Test_Logger_ApplicationFunction · 0.68