mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Change the log method of the console class to always call the really native method with a string
This commit is contained in:
@ -202,7 +202,7 @@ export class Console implements definition.Console {
|
||||
|
||||
private formatParams(message: any): string {
|
||||
if (arguments.length <= 1) {
|
||||
return message ? message : '';
|
||||
return "" + message;
|
||||
}
|
||||
var res = this.sprintf.apply(this, arguments);
|
||||
if (res === message) {
|
||||
|
Reference in New Issue
Block a user