{"id":13801602,"url":"https://github.com/apache/cordova-plugin-console","last_synced_at":"2025-10-08T00:32:00.780Z","repository":{"id":9085294,"uuid":"10860592","full_name":"apache/cordova-plugin-console","owner":"apache","description":"[DEPRECATED] Apache Cordova Plugin console","archived":true,"fork":false,"pushed_at":"2019-02-11T17:38:30.000Z","size":141,"stargazers_count":146,"open_issues_count":0,"forks_count":85,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-01-10T22:33:27.730Z","etag":null,"topics":["cordova","cplusplus","csharp","java","javascript","library","mobile","nodejs","objective-c"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-22T07:00:14.000Z","updated_at":"2024-04-17T21:18:36.000Z","dependencies_parsed_at":"2022-09-13T22:51:17.255Z","dependency_job_id":null,"html_url":"https://github.com/apache/cordova-plugin-console","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-plugin-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-plugin-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-plugin-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-plugin-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/cordova-plugin-console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235669382,"owners_count":19026815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cordova","cplusplus","csharp","java","javascript","library","mobile","nodejs","objective-c"],"created_at":"2024-08-04T00:01:24.864Z","updated_at":"2025-10-08T00:31:55.468Z","avatar_url":"https://github.com/apache.png","language":"JavaScript","readme":"---\ntitle: Console\ndescription: Get JavaScript logs in your native logs.\n---\n\u003c!---\n# license: Licensed to the Apache Software Foundation (ASF) under one\n#         or more contributor license agreements.  See the NOTICE file\n#         distributed with this work for additional information\n#         regarding copyright ownership.  The ASF licenses this file\n#         to you under the Apache License, Version 2.0 (the\n#         \"License\"); you may not use this file except in compliance\n#         with the License.  You may obtain a copy of the License at\n#\n#           http://www.apache.org/licenses/LICENSE-2.0\n#\n#         Unless required by applicable law or agreed to in writing,\n#         software distributed under the License is distributed on an\n#         \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n#         KIND, either express or implied.  See the License for the\n#         specific language governing permissions and limitations\n#         under the License.\n--\u003e\n\n|AppVeyor|Travis CI|\n|:-:|:-:|\n|[![Build status](https://ci.appveyor.com/api/projects/status/github/apache/cordova-plugin-console?branch=master)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/cordova-plugin-console)|[![Build Status](https://travis-ci.org/apache/cordova-plugin-console.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-console)|\n\n# cordova-plugin-console\n\n## Deprecated\n\n\u003e This plugin is no longer being worked on as the functionality provided by this plugin is now included in cordova-ios 4.5.0 or greater, and support is already built in to cordova-windows \u003e 5.0.0. You should remove this plugin from your applications.\n \n\u003e Please file issues for this plugin against their respective platforms (cordova-ios, cordova-windows).\n\n## Description\n\nThis plugin is meant to ensure that console.log() is as useful as it can be.\nIt adds additional function for iOS, Ubuntu, Windows Phone 8, and Windows. If\nyou are happy with how console.log() works for you, then you probably\ndon't need this plugin.\n\nThis plugin defines a global `console` object.\n\nAlthough the object is in the global scope, features provided by this plugin\nare not available until after the `deviceready` event.\n\n    document.addEventListener(\"deviceready\", onDeviceReady, false);\n    function onDeviceReady() {\n        console.log(\"console.log works well\");\n    }\n\n:warning: Report issues on the [Apache Cordova issue tracker](https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Console%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC)\n\n\n## Installation\n\n    cordova plugin add cordova-plugin-console\n\n### Android Quirks\n\nOn some platforms other than Android, console.log() will act on multiple\narguments, such as console.log(\"1\", \"2\", \"3\"). However, Android will act only\non the first argument. Subsequent arguments to console.log() will be ignored.\nThis plugin is not the cause of that, it is a limitation of Android itself.\n\n## Supported Methods\n\nThe plugin support following methods of the `console` object:\n\n- `console.log`\n- `console.error`\n- `console.exception`\n- `console.warn`\n- `console.info`\n- `console.debug`\n- `console.assert`\n- `console.dir`\n- `console.dirxml`\n- `console.time`\n- `console.timeEnd`\n- `console.table`\n\n## Partially supported Methods\n\nMethods of the `console` object which implemented, but behave different from browser implementation:\n\n- `console.group`\n- `console.groupCollapsed`\n\nThe grouping methods are just log name of the group and don't actually indicate grouping for later\ncalls to `console` object methods.\n\n## Not supported Methods\n\nMethods of the `console` object which are implemented, but do nothing:\n\n- `console.clear`\n- `console.trace`\n- `console.groupEnd`\n- `console.timeStamp`\n- `console.profile`\n- `console.profileEnd`\n- `console.count`\n\n## Supported formatting\n\nThe following formatting options available:\n\nFormat chars:\n\n*  `%j` - format arg as JSON\n*  `%o` - format arg as JSON\n*  `%c` - format arg as `''`. No color formatting could be done.\n*  `%%` - replace with `'%'`\n\nAny other char following `%` will format its arg via `toString()`.\n","funding_links":[],"categories":["Cordova plugins"],"sub_categories":["Incompatible"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcordova-plugin-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fcordova-plugin-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcordova-plugin-console/lists"}