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

ModeDescription
autoAutomatically choose the best viewer (tmux if available, otherwise file)
tmuxOpen a tmux pane showing live output
fileWrite output to ~/.julia/logs/repl.log (view with tail -f)
offDisable the log viewer

Instructions

  1. Parse the user's argument to determine the mode
  2. Call log_viewer with the specified mode
  3. Report the result to the user

Notes

  • The log viewer shows stdout and stderr from eval calls in real-time
  • Useful for long-running computations where you want to see progress
  • auto is the recommended mode for most users