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 <erikayao@amazon.com>
  • Loading branch information
2 people authored and dreamorosi committed Feb 5, 2024
1 parent 8cb05e9 commit 3b6e1e1
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 3b6e1e1

Please sign in to comment.