cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akurdyu...@apache.org
Subject [1/2] cordova-plugin-console git commit: CB-5089 Document supported methods for console object
Date Sat, 25 Jul 2015 06:05:46 GMT
Repository: cordova-plugin-console
Updated Branches:
  refs/heads/master b9fc01e7d -> 851c0c3ed


CB-5089 Document supported methods for console object


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/commit/be6d68a9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/tree/be6d68a9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/diff/be6d68a9

Branch: refs/heads/master
Commit: be6d68a9f4adfba1fbd880dc91bdcc7e539cd668
Parents: b9fc01e
Author: Andrey Kurdyumov <kant2002@gmail.com>
Authored: Sat Jul 25 12:00:40 2015 +0600
Committer: Andrey Kurdyumov <kant2002@gmail.com>
Committed: Sat Jul 25 12:00:40 2015 +0600

----------------------------------------------------------------------
 README.md | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/be6d68a9/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 35352cc..7387891 100644
--- a/README.md
+++ b/README.md
@@ -45,3 +45,42 @@ On some platforms other than Android, console.log() will act on multiple
 arguments, such as console.log("1", "2", "3"). However, Android will act only
 on the first argument. Subsequent arguments to console.log() will be ignored.
 This plugin is not the cause of that, it is a limitation of Android itself.
+
+## Supported Methods
+
+The plugin support following methods of the `console` object:
+
+- `console.log`
+- `console.error`
+- `console.exception`
+- `console.warn`
+- `console.info`
+- `console.debug`
+- `console.assert`
+- `console.dir`
+- `console.dirxml`
+- `console.time`
+- `console.timeEnd`
+- `console.table`
+
+## Partially supported Methods
+
+Methods of the `console` object which implemented, but behave different from browser implementation:
+
+- `console.group`
+- `console.groupCollapsed`
+
+The grouping methods are just log name of the group and don't actually indicate grouping
for later 
+calls to `console` object methods.
+
+## Not supported Methods
+
+Methods of the `console` object which are implemented, but do nothing:
+
+- `console.clear`
+- `console.trace`
+- `console.groupEnd`
+- `console.timeStamp`
+- `console.profile`
+- `console.profileEnd`
+- `console.count`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message