add smart parse of MLog() function