Skip to content

Commit 0193721

Browse files
authored
Merge pull request #185 from vectart/patch-1
Check for console
2 parents 781f790 + be0447f commit 0193721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
level: `log`,
3-
logger: console,
3+
logger: (this && this.console) || (window && window.console),
44
logErrors: true,
55
collapsed: undefined,
66
predicate: undefined,

0 commit comments

Comments
 (0)