apache / apache/cordova-ios

Console.log is not displayed in the safari terminal, but is displayed in the Xcode console

Open
#1,394 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
1k
Avg merge
12h 11m
Merged PRs (30d)
18

Description

The application will be a combination of Angular and Cordova

If you output console.log in Angular like window.console.log=function(){}, console.log will not be output on Safari's console log.
However, when viewed in Xcode's console or mac's console.app, console.log is output and displayed.

Why is it not disabled on consoles other than Safari? Could you please tell me how to disable it?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the console.log behavior in the Angular and Cordova application, comparing Safari's console with the Xcode or macOS Console output. Determine whether the reported behavior is a cordova-ios issue and what configuration or change would be needed to disable the additional output; the issue is resolved when the behavior and supported solution are documented or corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.