about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-12-22 16:36:55 -0800
committerGraydon Hoare <graydon@mozilla.com>2011-12-22 16:36:55 -0800
commitccb5b6fb259d5de9be751175fc53df1eaea4cd2c (patch)
tree73c9c065cf167570cfd9499de170172201610e31 /src
parent389329ef1ebde8f4f09545310a10866c9107a90d (diff)
downloadrust-ccb5b6fb259d5de9be751175fc53df1eaea4cd2c.tar.gz
rust-ccb5b6fb259d5de9be751175fc53df1eaea4cd2c.zip
Switch core macros to expand to log(level, ...).
Diffstat (limited to 'src')
-rw-r--r--src/comp/syntax/ext/expand.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/syntax/ext/expand.rs b/src/comp/syntax/ext/expand.rs
index 8a28f7dc84c..b69c1862df8 100644
--- a/src/comp/syntax/ext/expand.rs
+++ b/src/comp/syntax/ext/expand.rs
@@ -55,10 +55,10 @@ fn expand_expr(exts: hashmap<str, syntax_extension>, cx: ext_ctxt, e: expr_,
 fn core_macros() -> str {
     ret
 "{
-    #macro[[#error[f, ...], log_full(core::error, #fmt[f, ...])]];
-    #macro[[#warn[f, ...], log_full(core::warn, #fmt[f, ...])]];
-    #macro[[#info[f, ...], log_full(core::info, #fmt[f, ...])]];
-    #macro[[#debug[f, ...], log_full(core::debug, #fmt[f, ...])]];
+    #macro[[#error[f, ...], log(core::error, #fmt[f, ...])]];
+    #macro[[#warn[f, ...], log(core::warn, #fmt[f, ...])]];
+    #macro[[#info[f, ...], log(core::info, #fmt[f, ...])]];
+    #macro[[#debug[f, ...], log(core::debug, #fmt[f, ...])]];
 }";
 }