loguru
loguru copied to clipboard
How to output the runtime of an interface or method?
How to output the runtime of an interface or method?
Please clarify your question.
I want to record the running time of each method and the processing time of the interface. Does loguru support it?
I want to check system response time, processing time by doing something like this
This is not available out of the box, you'll need to implement a decorator like this one: Logging entry and exit of functions with a decorator.