exceptionless / Exceptionless.JavaScript

Exceptionless JavaScript client
http://exceptionless.com
Apache License 2.0
59 stars 24 forks source link

Make sure $log decorator doesn't change the call to $log #21

Closed srijken closed 9 years ago

srijken commented 9 years ago

When calling $log.info("a", "b"); that normally outputs "a", "b" using previousFn.call() causes the output ["a","b"] or in IE9 just [object Arguments]

.apply() takes in an array as secondary parameter, instead of expecting each argument individually.