Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/src/logging-visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Built-in `IO` support exists for:
Built-in rendering support exists for:
- `render_logs(logs, :graphviz)` to generate a graph diagram of executed tasks and their dependencies (requires `GraphViz.jl` to be loaded)
- `render_logs(logs, :plots_gantt)` to generate a Gantt chart of task execution across all processors (requires `Plots.jl` and `DataFrames.jl` to be loaded)
- `render_logs(logs, :chrome_trace)` to generate a `String` with chrome-trace formatted task execution timeline

The latter (`MultiEventLog`) allows for continuously rendering logs as they're
generated, permitting real-time visualization of Dagger's operations. This
Expand Down
1 change: 1 addition & 0 deletions ext/JSON3Ext.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function logs_to_chrome_trace(logs::Dict)
end

function Dagger.render_logs(logs::Dict, ::Val{:chrome_trace})
@warn "Dagger.render_logs(logs, :chrome_trace) is deprecated, use Dagger.show_logs(io, logs, :chrome_trace) instead." maxlog=1
return JSON3.write(logs_to_chrome_trace(logs))
end

Expand Down