diff --git a/src/Deserialization/helpers.jl b/src/Deserialization/helpers.jl index e2f60f4..74b9f8d 100644 --- a/src/Deserialization/helpers.jl +++ b/src/Deserialization/helpers.jl @@ -33,3 +33,18 @@ function steps(tbl; kwargs...) return steps end + +""" + events(logger) + +Returns a list of all the events serialized by `logger`. +""" +function events(tbl; kwargs...) + events = [] + + map_events(tbl; kwargs...) do ev + push!(events, ev) + end + + return events +end