From ccb5b6fb259d5de9be751175fc53df1eaea4cd2c Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 22 Dec 2011 16:36:55 -0800 Subject: [PATCH] Switch core macros to expand to log(level, ...). --- src/comp/syntax/ext/expand.rs | 8 ++++---- 1 file 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, 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, ...])]]; }"; }