Fix usage of the old debug! macros
This commit is contained in:
parent
320af9b157
commit
62855e2c08
|
@ -821,7 +821,7 @@ pub fn std_macros() -> @str {
|
||||||
if lvl <= __log_level() {
|
if lvl <= __log_level() {
|
||||||
format_args!(|args| {
|
format_args!(|args| {
|
||||||
::std::logging::log(lvl, args)
|
::std::logging::log(lvl, args)
|
||||||
}, \"{}\", fmt!(\"{:?}\", $arg))
|
}, \"{}\", fmt!(\"%?\", $arg))
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
($lvl:expr, $($arg:expr),+) => ({
|
($lvl:expr, $($arg:expr),+) => ({
|
||||||
|
|
Loading…
Reference in New Issue