Skip to content

Configuration Source Location logging#10

Merged
jordanebelanger merged 1 commit intobrainfinance:masterfrom
0xTim:configurable-sourceLocation-logging
Feb 19, 2025
Merged

Configuration Source Location logging#10
jordanebelanger merged 1 commit intobrainfinance:masterfrom
0xTim:configurable-sourceLocation-logging

Conversation

@0xTim
Copy link
Copy Markdown
Contributor

@0xTim 0xTim commented Feb 19, 2025

Logging the source location for each log entry can be unnecessary in some scenarios and not desirable due to storage costs for debug logs etc.

This PR introduces a configuration option to set the log level at which source location is logged so it can be discarded for certain log levels

@jordanebelanger jordanebelanger merged commit e75c4d0 into brainfinance:master Feb 19, 2025
@jordanebelanger
Copy link
Copy Markdown
Collaborator

Thanks @0xTim !

@0xTim 0xTim deleted the configurable-sourceLocation-logging branch February 19, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants