Skip to content

@timed decorator for debug environments only #529

Answered by s-cork
NicoN13 asked this question in Q&A
Discussion options

You must be logged in to vote

If you want something simple then just use an anvil extras logger instead of Python's logging.

If you want to use pythons logger you'll need to follow the docs to send the stream to stdout. You should be able to find examples online of how to do this.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@NicoN13
Comment options

@s-cork
Comment options

@NicoN13
Comment options

Answer selected by NicoN13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants