Logger

Logger class is defined at the bottom of the file.
It's log method smarty converts params to string and
concatenates them, like so:
_logger.log('mouse is at x=', mouseX, ', y=', mouseY);