Modified log functions to expose platform specific functions rather than wrappers (including IE case)