Skip to content

Commit

Permalink
chore(logger): PowertoolsLogFormatter docstring and variable naming u…
Browse files Browse the repository at this point in the history
…pdate (#1585)

* 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

* Fixed incorrect return type, renamed variable for consistency
  • Loading branch information
erikayao93 authored and dreamorosi committed Sep 26, 2023
1 parent 0bfcf03 commit 46195f9
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 {PowertoolsLog}
* @returns {LogItem}
*/
public formatAttributes(
attributes: UnformattedAttributes,
Expand Down

0 comments on commit 46195f9

Please sign in to comment.