Skip to content

Feature request: add additional log level: TRACE & corresponding logger.trace() method #1589

Closed
@codyfrisch

Description

@codyfrisch

Use case

Create an additional log level of TRACE below DEBUG

DEBUG contains statements about entering specific functions, iterations of a loop, timing info, etc. as well as actual data such as function parameters, API responses etc.

INFO is reserved for normal informational messages, like logging the results of an invocation but not all the intermediate details.

TRACE level would allow DEBUG to only contain the data, API responses, etc. and TRACE then contains the statements for the execution path.

Solution/User Experience

Add an additional level for TRACE as was done for CRITICAL.

Alternative solutions

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/shippedfeature-requestThis item refers to a feature request for an existing or new utilitygood-first-issueSomething that is suitable for those who want to start contributingloggerThis 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