This seems to be an issue where the initializer for the members called log
get confused for a call to the log() standard library function.
Renaming these members with leading underscores and adding some checks for
nullptr before usage are good practice in any case and should fix this.