FIX logger log function to be console compliant