Just to confirm, if you change ic('test') to logger.debug('test') it works as expected? I.e. it creates the log file?
Edit: Also if you change the output format of the logger and use it as the outputFunction to ic, does it include the customized format?
I just want to confirm if your ic is routing through the logger or not, to know if it's a problem with your logging config or with ic.