dgpy-libs icon indicating copy to clipboard operation
dgpy-libs copied to clipboard

[Feature Request] `log_level` for `@requires`

Open NellyWhads opened this issue 1 year ago • 9 comments

Hello hello,

Thanks for the great set of community tools!

Can I request a "log_level" option for @requires?

Functionally, this would log a warning with the requested level when a decorated class/method is imported, allowing the user to see something may be missing from the environment before running a particularly long script which fails near the end when the decorated class/method is called.

NellyWhads avatar Dec 03 '24 13:12 NellyWhads