It really helps to be able to configure the Log Level... The default value prints too much stuff, and since the log levels are defined in the code, I belive it makes sense for it to be configurable.
Usage:
var imapClient = new ImapClient('impa.host.com', 993, {logLevel: ImapClient.LOG_LEVEL_ERROR});
Note: the usage is incorrect in my commit message. Please disregard it, and check the one above).
It really helps to be able to configure the Log Level... The default value prints too much stuff, and since the log levels are defined in the code, I belive it makes sense for it to be configurable.
Usage: var imapClient = new ImapClient('impa.host.com', 993, {logLevel: ImapClient.LOG_LEVEL_ERROR});
Note: the usage is incorrect in my commit message. Please disregard it, and check the one above).