Skip to content

Maintenance: improve type hints when using log reordering feature #3053

Closed
@dreamorosi

Description

@dreamorosi

Summary

In #2736 we added a feature that allows customers to specify an order for how the keys will appear in each log. This feature represents a middle ground between wanting to customize the Logger without having to create and maintain your own custom log formatter.

While the feature is great, customers using this feature might not be familiar with all the keys that Logger can include in its log. We should improve our types around the feature so that customers get some type hints and useful autocomplete when specifying the log order.

Why is this needed?

So that customers can be aware of the available keys that they can specify when using the feature without having to open the browser and check the documentation.

Which area does this relate to?

Logger

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)loggerThis item relates to the Logger Utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions