Versions in this module Expand all Collapse all v1 v1.0.0 Sep 28, 2019 Changes in this version + var DefaultNames = []string + func Extract(ctx *lambdacontext.LambdaContext, field LambdaField) string + type ContextValuer interface + ContextValue func(ctx *lambdacontext.LambdaContext, f LambdaField) (string, error) + type LambdaField int + const AppPackageName + const AppTitle + const AppVersionCode + const AwsRequestID + const CognitoIdentityID + const CognitoIdentityPoolID + const END + const FunctionName + const FunctionVersion + const InstallationID + const InvokeFunctionArn + const LogGroupName + const LogStreamName + const MemoryLimitInMB + type LambdaLogContext struct + func New(options ...Option) *LambdaLogContext + func (lc *LambdaLogContext) ContextValue(ctx *lambdacontext.LambdaContext, f LambdaField) string + func (lc *LambdaLogContext) ContextValues(ctx context.Context) []zapcore.Field + func (lc *LambdaLogContext) NonContextValues() []zapcore.Field + func (lc *LambdaLogContext) With(fields ...LambdaField) *LambdaLogContext + func (lc *LambdaLogContext) WithAll() *LambdaLogContext + func (lc *LambdaLogContext) WithBasic() *LambdaLogContext + func (lc *LambdaLogContext) WithCustom(names ...string) *LambdaLogContext + func (lc *LambdaLogContext) WithEnv(names ...string) *LambdaLogContext + func (lc *LambdaLogContext) WithOptions(opts ...Option) *LambdaLogContext + type Option interface + func CustomNames(n map[LambdaField]string) Option + func CustomValues(c ContextValuer) Option + func ProcessNonContextFields(b bool) Option