logger.setLevel function

Set console log level