monmohan / dsjslib

A library implementing several standard data structures and utilities, in JavaScript. Its written and tested using Node.js which is the target platform.
MIT License
771 stars 68 forks source link

No way to suppress debug output #6

Closed akloeber closed 10 years ago

akloeber commented 10 years ago

So far there is no way to suppress debug output as logger.DEBUG is not accessible from the outside and the default is set to true which messes up the console with a lot of messages like:

AVL Height violation at Node <KEY>
monmohan commented 10 years ago

Hi, Thanks for the suggestion. Its kind of a neglected area right now.. Will be fixing it soon. Regards Monmohan

On Sun, Mar 30, 2014 at 9:49 PM, akloeber notifications@github.com wrote:

So far there is no way to suppress debug output as logger.DEBUG is not accessible from the outside and the default is set to true which messes up the console with a lot of messages like:

AVL Height violation at Node

— Reply to this email directly or view it on GitHubhttps://github.com/monmohan/dsjslib/issues/6 .

monmohan commented 10 years ago

Fixed via https://github.com/monmohan/dsjslib/commit/b21264b38922c6cec8e5e462bfa9cc0f129374db