fixed a bug where if the first log arg was not a string it wouldn't get logged
This commit is contained in:
@@ -41,6 +41,9 @@ function formatLogData(logData) {
|
||||
if (data.length > 0) {
|
||||
output += '\n';
|
||||
}
|
||||
} else {
|
||||
//put it back, it's not a format string
|
||||
data.unshift(format);
|
||||
}
|
||||
|
||||
data.forEach(function (item) {
|
||||
|
||||
Reference in New Issue
Block a user