Skip to content

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

Merged
niemyjski merged 1 commit into
exceptionless:masterfrom
srijken:master
Jun 5, 2015
Merged

Make sure $log decorator doesn't change the call to $log#21
niemyjski merged 1 commit into
exceptionless:masterfrom
srijken:master

Conversation

@srijken

@srijken srijken commented Jun 5, 2015

Copy link
Copy Markdown
Contributor

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.

niemyjski added a commit that referenced this pull request Jun 5, 2015
Make sure $log decorator doesn't change the call to $log
@niemyjski
niemyjski merged commit 750da65 into exceptionless:master Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants