Make 3rd argument of log() optional.