Skip to content
Paul Berg edited this page Aug 19, 2022 · 4 revisions

🧾 Logging in Pluto.jl

Pluto supports showing messages printed with the standard library Logging module. This can be done using the @info, @warn and @error macro.

image

Disabling logs for a cell

If a package logs warnings or info messages that you want to hide (especially in the static export of the notebook), then the option to hide logs can be toggled by clicking on the cell menu (the three dots on the right).

image

Logging progress

Pluto supports an integration with the ProgressLogging.jl package which can be used to display a progress bar in the log message area:

logs-demo-1

Writing to standard output

To disable capturing and showing standard output inside Pluto and show it inside the terminal instead the capture_stdout=false option can be provided to Pluto.run when launching Pluto.