-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestnext-coding-sessionLook into during the next CS.Look into during the next CS.questionFurther information is requestedFurther information is requested
Milestone
Description
Question:
- Is there a different effect between e.g.
log.warning()andIJ.log()? - If yes, what's the rationale behind using
IJ.log()? - Should we have a function abstracting the
IJ.log()call?- Additional things could be done there (timestamp-prefix, extra logging targets, ...).
- We'd have a single place where changes could be applied when necessary, instead of doing stuff at each and every occurrence of an
IJ.log()call.
Relevant lines specifically in this module:
python-imcflibs/src/imcflibs/imagej/misc.py
Lines 253 to 263 in 9ad2b0f
| IJ.log( | |
| "\\Update%i:%s[%s%s] %i/%i\r" | |
| % ( | |
| line_number, | |
| timed_log(prefix, True), | |
| "#" * x, | |
| "." * (size - x), | |
| progress, | |
| total, | |
| ) | |
| ) |
python-imcflibs/src/imcflibs/imagej/misc.py
Line 276 in 9ad2b0f
| IJ.log(time.strftime("%H:%M:%S", time.localtime()) + ": " + message + " ") |
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or requestnext-coding-sessionLook into during the next CS.Look into during the next CS.questionFurther information is requestedFurther information is requested
Type
Projects
Status
Ready