MCPcopy Create free account
hub / github.com/netlify/gotrue / Write

Method Write

api/log.go:43–50  ·  view source on GitHub ↗
(status, bytes int, elapsed time.Duration)

Source from the content-addressed store, hash-verified

41}
42
43func (l *structuredLoggerEntry) Write(status, bytes int, elapsed time.Duration) {
44 l.Logger = l.Logger.WithFields(logrus.Fields{
45 "status": status,
46 "duration": elapsed.Nanoseconds(),
47 })
48
49 l.Logger.Info("request completed")
50}
51
52func (l *structuredLoggerEntry) Panic(v interface{}, stack []byte) {
53 l.Logger.WithFields(logrus.Fields{

Callers 5

sendJSONFunction · 0.80
SAMLMetadataMethod · 0.80
checksumFunction · 0.80
handleErrorFunction · 0.80
GetUserDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected