Documentation ¶
Index ¶
- Constants
- Variables
- func AddFields(ctx context.Context, f logrus.Fields) context.Context
- func AppDetails(commitID *string, env *string)
- func ConfigureJSONFormatting(logLevelKey *string)
- func ExecutionEnd(ctx context.Context)
- func ExecutionStart(ctx context.Context)
- func NewLambdaInvocation(fnName *string, env *string) *logrus.Entry
- func WithExecutionID(ctx context.Context) context.Context
- func WithExecutionIDLogStart(ctx context.Context) context.Context
Constants ¶
View Source
const ( InvokedFunction = "invokedFunction" ExecutionID = "executionId" Environment = "environment" EnvironmentKey = "ENVIRONMENT" AwsLambdaFnNameKey = "AWS_LAMBDA_FUNCTION_NAME" )
Variables ¶
View Source
var (
LogLevelKey = "LOG_LEVEL"
)
Functions ¶
func AppDetails ¶
func ConfigureJSONFormatting ¶
func ConfigureJSONFormatting(logLevelKey *string)
func ExecutionEnd ¶
func ExecutionStart ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.