I'm using IRC npm and my bot hasn't been connecting to an IRC server and I wasn't receiving any errors. So I went into the source code to find out what was happening.

Apparently the function was ran. Where is it being emitted?
And I found this:
util.log('Connection got "close" event');
Where is it logged to?