aboutsummaryrefslogtreecommitdiff
path: root/lib/std/priority_queue.zig
diff options
context:
space:
mode:
authorheidezomp <heidezomp@protonmail.com>2020-08-12 14:03:02 +0200
committerheidezomp <heidezomp@protonmail.com>2020-08-12 14:03:02 +0200
commit7db2c11537552250462a5f4ab162e5ef4183489c (patch)
tree3ff706490e57f2b164d495e2d93c43213154dc32 /lib/std/priority_queue.zig
parent67d684d89aeb0bb3cfa86c57e8d77359d45743fa (diff)
downloadzig-7db2c11537552250462a5f4ab162e5ef4183489c.tar.gz
zig-7db2c11537552250462a5f4ab162e5ef4183489c.zip
std.log: add scoped logging struct
* Add a std.log.scoped function that returns a scoped logging struct * Add a std.log.default struct that logs using the .default scope Implementation of daurnimator's proposal: https://github.com/ziglang/zig/issues/5943#issuecomment-669043489 Note that I named the function "scoped" instead of "scope" so as not to clash with the scope parameter that is used everywhere; this seemed a better solution to me than renaming the scope parameter to "s" or "log_scope" or the like.
Diffstat (limited to 'lib/std/priority_queue.zig')
0 files changed, 0 insertions, 0 deletions