mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Debug.log multiple params on one line
This commit is contained in:
@@ -37,9 +37,13 @@ impl fmt::Display for DebugBuiltin {
|
||||
}
|
||||
|
||||
static LOG: NativeFunction = native_fn(|_this, params| {
|
||||
print!("Debug.log:");
|
||||
|
||||
for p in params {
|
||||
println!("Debug.log: {}", p.pretty());
|
||||
print!(" {}", p.pretty());
|
||||
}
|
||||
|
||||
println!();
|
||||
|
||||
Ok(Val::Undefined)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user