We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d2fe2b commit f450f69Copy full SHA for f450f69
readme.md
@@ -45,10 +45,11 @@ _example [/issues/3](../../issues/3)_
45
function ll_(){
46
var args = [];
47
for (var i = 0; i < arguments.length; i++) {
48
- args.push(typeof arguments[i] === 'object' || typeof arguments[i] === 'function' ? ('' + JSON.stringify(arguments[i], null, ' ')) : ('' + arguments[i]));
+ args.push(typeof arguments[i] === 'object' ? ('' + JSON.stringify(arguments[i], null, ' ')) : ('' + arguments[i]));
49
+ }
50
+ if(!/%s/.test(args[0])){
51
+ args.unshift(new Array(args.length).join('\n%s'));
52
}
- if(typeof args[0] === 'string' && !/%s/.test(args[0]))
- args.unshift(Array(args.length + 1).join('\n%s'));
53
Logger.log.apply(Logger, args);
54
55
```
0 commit comments