Can logging be disabled?
Open
@tikurahul is already working on this.
Since Aug 30, 2018.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
Ideally it would not log steps to the console by default, or logging could be disabled. I see the IS_LOG value in the "flags" module, but it's defined as a const and I'm not sure how I can affect that value at run time in a way to prevent logging. Thanks!
Describe the problem
Actual Behavior
Currently the library prints messages to the console as it's executing, such as:
Checking to see if there is an authorization response to be delivered. (here)
Steps to reproduce the behavior
Invoking the library functions as demonstrated in the Electron sample application
Environment
- AppAuth-JS version: 0.3.5
- AppAuth-JS Environment (Node, Browser (UserAgent), ...): node 10.9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.