Skip to content

Commit ccb5b6f

Browse files
committed
Switch core macros to expand to log(level, ...).
1 parent 389329e commit ccb5b6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/comp/syntax/ext/expand.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ fn expand_expr(exts: hashmap<str, syntax_extension>, cx: ext_ctxt, e: expr_,
5555
fn core_macros() -> str {
5656
ret
5757
"{
58-
#macro[[#error[f, ...], log_full(core::error, #fmt[f, ...])]];
59-
#macro[[#warn[f, ...], log_full(core::warn, #fmt[f, ...])]];
60-
#macro[[#info[f, ...], log_full(core::info, #fmt[f, ...])]];
61-
#macro[[#debug[f, ...], log_full(core::debug, #fmt[f, ...])]];
58+
#macro[[#error[f, ...], log(core::error, #fmt[f, ...])]];
59+
#macro[[#warn[f, ...], log(core::warn, #fmt[f, ...])]];
60+
#macro[[#info[f, ...], log(core::info, #fmt[f, ...])]];
61+
#macro[[#debug[f, ...], log(core::debug, #fmt[f, ...])]];
6262
}";
6363
}
6464

0 commit comments

Comments
 (0)