find_outside_stacklevel¶
- lsst.utils.introspection.find_outside_stacklevel(module_name: str) int ¶
Find the stacklevel for outside of the given module.
This can be used to determine the stacklevel parameter that should be passed to log messages or warnings in order to make them appear to come from external code and not this package.