Skip to content

[feature] AWS Lambda guide #253

@angelhodar

Description

@angelhodar

Description

I am thinking about adopting evlog for an AWS Lambda function I have created (SQS consumer), but I have doubts about the best practices I should follow when implementing it. Should I create a global log with createLogger and then import it in the rest of the code as lambda is supposed to have isolated runs between invocations? Or should I pass the logger as parameter with dependency injection? Thanks in advance, great library btw!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions