Skip to content

Conversation

luigi-riefolo
Copy link

The current implementation of CallerStackHandler does not offer an option for skipping trace records from the logging message.

This change introduces a new function arguments skip, which can be used as an index for skipping unwanted trace records starting from the most recent ones.

The new argument is particularly useful if the log15 functionalities are wrapped into a custom function or the user is implementing the log15 interface.

@xgfone
Copy link

xgfone commented Aug 31, 2017

@luigi-riefolo Hi, I created a PR to allow the user to customize the stack depth to skip. See #128

@luigi-riefolo
Copy link
Author

closing as duplicate

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