Skip to content

Commit

Permalink
feat(logger): Support for external observability providers (#1511)
Browse files Browse the repository at this point in the history
* Updated formatAttributes for additional parameters and LogItem return type

* Updated the unit tests to pass with new formatter

* Updated Powertool named objects to Powertools

* Updated tests to match new naming consistency

* Updated for tests for new naming consistency

* Updated formatter for new design decisions

* Update Logger for ephemeral attributes

* Update bringYourOwnFormatter documentation to match new formatter

---------

Co-authored-by: erikayao93 <[email protected]>
  • Loading branch information
2 people authored and dreamorosi committed Sep 27, 2023
1 parent 0f63b70 commit bb23231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/logger/src/formatter/PowertoolsLogFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PowertoolsLogFormatter extends LogFormatter {
*
* @param {UnformattedAttributes} attributes
* @param {LogAttributes} additionalLogAttributes
* @returns {LogItem}
* @returns {PowertoolsLog}
*/
public formatAttributes(
attributes: UnformattedAttributes,
Expand Down

0 comments on commit bb23231

Please sign in to comment.