Basic console logging functions
Method of outputting data to the browser's console, intended for development purposes.
IE | Edge | Firefox | Chrome | Safari | Opera | iOS Safari | Opera Mini | Android Browser | Blackberry Browser | Opera Mobile | Chrome for Android | Firefox for Android | IE Mobile | UC Browser for Android | Samsung Internet | QQ Browser | Baidu Browser |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49 | |||||||||||||||||
56 | 9.3
See notes:
|
4.4
See notes:
|
|||||||||||||||
14 | 52 | 57 | 10 | 10.0-10.2
See notes:
|
4.4.3-4.4.4
See notes:
|
4
See notes:
|
|||||||||||
11 | 15 | 53 | 58 | 10.1 | 44 | 10.3
See notes:
|
all
See notes:
|
56
See notes:
|
10
See notes:
|
37
See notes:
|
57
See notes:
|
52
See notes:
|
11
See notes:
|
11.4
See notes:
|
5
See notes:
|
1.2 | 7.12
See notes:
|
54 | 59 | TP | 45 | ||||||||||||||
55 | 60 | 46 | |||||||||||||||
56 | 61 |
Notes
The basic functions that this information refers to include console.log
, console.info
, console.warn
, console.error
.
-
1
Only supports console functions when developer tools are open, otherwise the
console
object is undefined and any calls will throw errors. -
2
Allows
console
functions to be used without throwing errors, but does not appear to output the data anywhere. -
3
Log output on iOS 6+ Safari can only be seen by connecting to a Mac and using the Safari debugger.
-
4
Log output on older Android browsers can be retrieved via Android's
logcat
command or using Chrome Developer Tools in Android 4.4+/Chrome for Android see details -
5
Log output on Firefox for Android can be accessed using WebIDE
-
6
See this article for details on how to see console logging in Opera Mini