New log function, mm