Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Enable/disable console output #151

Merged

Conversation

alex-ionochkin
Copy link
Contributor

@sinan, can you please review this fix?
The reason why I made these changes is that kd keeps references to console methods and use those references for kd.log, kd.warn, kd.error etc. This logic makes useless any try to overwrite console methods to disable logging - https://github.com/koding/koding/blob/master/client/app/lib/util/disableLogs.coffee#L34
Wrapping console calls with functions helps to solve this problem

@alex-ionochkin alex-ionochkin changed the title TMS-734 Enable/disable console output Enable/disable console output Feb 26, 2016
sinan added a commit that referenced this pull request Feb 26, 2016
…nsole-output

Enable/disable console output
@sinan sinan merged commit 00db409 into koding:master Feb 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants