julia-log
Control the log viewer for real-time Julia output
Julia Log Viewer
Control the log viewer that displays Julia output in a separate terminal window.
Arguments
mode- One of:auto,tmux,file,off
Modes
| Mode | Description |
|---|---|
auto | Automatically choose the best viewer (tmux if available, otherwise file) |
tmux | Open a tmux pane showing live output |
file | Write output to ~/.julia/logs/repl.log (view with tail -f) |
off | Disable the log viewer |
Instructions
- Parse the user's argument to determine the mode
- Call
log_viewerwith the specified mode - Report the result to the user
Notes
- The log viewer shows
stdoutandstderrfrom eval calls in real-time - Useful for long-running computations where you want to see progress
autois the recommended mode for most users