-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
Description
IIUC, due to Juno-specific check in @progress macro implementation, code using @progress can only work inside Juno:
Lines 105 to 106 in 554707e
| if isactive() | |
| @logmsg($PROGRESSLEVEL, $(esc(name)), progress=0.0, _id=Symbol($_id)) |
The specification in Juno.progress docstring also does not specify that using LogLevel(-1) is crucial.
These are issues I noticed while writing a ProgressMeter-Logging bridge ProgressMeterLogging.jl and adding a frontend support in my package JuliaFolds/Transducers.jl#63. I think a cleaner solution may be having a base package with a spec and a reference implementation of frontend progress macros and functions.
What do you think? Is it a good approach to decouple progress logging interface (frontend API and specification documentation) from Juno?