about summary refs log tree commit diff
path: root/src/rt/rust_sched_loop.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-13 10:40:07 -0700
committerbors <bors@rust-lang.org>2013-03-13 10:40:07 -0700
commit695e9fd13cd71c87e9afc0903b3fb6856452d345 (patch)
tree5c97280a8ddc0e2a797912c4b3007461841d1a74 /src/rt/rust_sched_loop.cpp
parent0ad3a110be9070b87ecd7e1c71d20a02660d8959 (diff)
parent9c7e16e48d15b3380cc680f6194fe3516867d2db (diff)
downloadrust-695e9fd13cd71c87e9afc0903b3fb6856452d345.tar.gz
rust-695e9fd13cd71c87e9afc0903b3fb6856452d345.zip
auto merge of #5293 : brson/rust/logging, r=brson
r? @graydon

This removes `log` from the language. Because we can't quite implement it as a syntax extension (probably need globals at the least) it simply renames the keyword to `__log` and hides it behind macros.

After this the only way to log is with `debug!`, `info!`, etc. I figure that if there is demand for `log!` we can add it back later.

I am not sure that we ever agreed on this course of action, though I *think* there is consensus that `log` shouldn't be a statement.
Diffstat (limited to 'src/rt/rust_sched_loop.cpp')
0 files changed, 0 insertions, 0 deletions