aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Target/Query.zig
diff options
context:
space:
mode:
authorIan Johnson <ian@ianjohnson.dev>2025-02-15 16:23:33 -0500
committerIan Johnson <ian@ianjohnson.dev>2025-02-15 17:29:31 -0500
commitb745a96d20e8159a68be53478d30c72f8c216dd3 (patch)
tree39c5534d0e11e4c3da8efb36e0d920d48aadb2b6 /lib/std/Target/Query.zig
parent293603f04029e2b1edf235a80417f3bb9651482f (diff)
downloadzig-b745a96d20e8159a68be53478d30c72f8c216dd3.tar.gz
zig-b745a96d20e8159a68be53478d30c72f8c216dd3.zip
Autodoc: use browser console log levels and simplify panic
Using the browser's `console.error`, etc. functions instead of `console.log` produces prettier output in the console. Additionally, `console.error` in particular includes a stack trace, which is useful for debugging where the error occurred. Additionally, this commit leverages the enhanced logging to delete the separate `panic` function from the JS code and write it in Zig instead.
Diffstat (limited to 'lib/std/Target/Query.zig')
0 files changed, 0 insertions, 0 deletions