Changed log() to logger()