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.
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 thelog15
interface.