Skip to content

Commit

Permalink
feat(logger): JSDOCS support (#491)
Browse files Browse the repository at this point in the history
* docs(logger): WIP jsdocs Logger.ts

* feat(logger): add jsdocs support

* fix(logger): jsdocs finetuning

* fix(logger): removed trailing eslint jsdocs flag

* Update packages/logger/src/config/EnvironmentVariablesService.ts

Co-authored-by: Florian Chazal <florianchazal@gmail.com>

* Update packages/logger/src/Logger.ts

Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>

* Update packages/logger/src/Logger.ts

Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>

* Update packages/logger/src/Logger.ts

Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>

* Update packages/logger/src/Logger.ts

Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>

* Update packages/logger/src/Logger.ts

Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>

* Update packages/logger/src/Logger.ts

Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>

* docs(logger): improve example for jsdocs

Co-authored-by: Florian Chazal <florianchazal@gmail.com>
Co-authored-by: Andrea Amorosi <dreamorosi@gmail.com>
  • Loading branch information
3 people authored Jan 20, 2022
1 parent 524c268 commit cd2c2d9
Show file tree
Hide file tree
Showing 11 changed files with 593 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/cdk/src/example-function.MyFunctionWithMiddy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const lambdaHandler = async (event: typeof Events.Custom.CustomEvent, context: C
return res;
};

// We instrument the handler with the various Middy middlewares
// We instrument the handler with the various Middy middleware
export const handler = middy(lambdaHandler)
.use(captureLambdaHandler(tracer))
.use(
Expand Down
Loading

0 comments on commit cd2c2d9

Please sign in to comment.