When using Python logging
library, standard approach is just to write some message like this:
logging.info("All right")
But sometimes it necessary to show result status of some (long) task (after a while after output of main part of the message). For example:
Some long computing... [done]
or
Some long computing... [fail]
How can I solve this problem?
TOTAL:
Ok. It is possible, but only in the next line. For output success message in the same line you must use other tool (probably, custom), not logging
Python library.