Own switchable logger to console

Hello! 
Here are possibility to switch off logging to console.