Strange double log() function declaration, probably a copy/paste typo