package
0.0.6
Repository: https://github.com/zchee/zap-encoder.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
LogHttpRequest adds the correct Stackdriver "HttpRequest" field.
LogHTTPPayload adds the correct Stackdriver "HttpRequest" field.
No description provided by the author
No description provided by the author
LogSourceLocation adds the correct Stackdriver "SourceLocation" field.
No description provided by the author
NewHttpRequest returns a new HttpRequest struct, based on the passed in http.Request and http.Response objects.
NewSourceLocation returns a new SourceLocation struct, based on the pc, file, line and ok arguments.
NewStackdriverConfig returns the stackdriver encoder zap.Config.
NewStackdriverEncoder returns the stackdriver zapcore.Encoder.
NewStackdriverEncoderConfig returns the new zapcore.EncoderConfig with stackdriver encoder config.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
HttpRequest represents a common proto for logging HTTP requests.
No description provided by the author
No description provided by the author
No description provided by the author
SourceLocation additional information about the source code location that produced the log entry.