# HG changeset patch # User Kim Alvefur # Date 1679787200 -3600 # Node ID f08125a8be34de3362bc6ec389c75d8a5df12e2b # Parent 4533c9b906b04054b73d5c5907e53ad4dacb8492 util.format: Restore "freeze" serialization behavior in logging This was implied with the "debug" preset and does nice things like turn util.set objects into "set{a,b,c}" instead of the quite verbose thing you get otherwise. diff -r 4533c9b906b0 -r f08125a8be34 util/format.lua --- a/util/format.lua Sun Mar 26 00:18:05 2023 +0100 +++ b/util/format.lua Sun Mar 26 00:33:20 2023 +0100 @@ -15,6 +15,7 @@ fallback = function(v, why) return "_[[" .. (why or tostring(v)) .. "]] "; end; + freeze = true; fatal = false; maxdepth = 5; });