Fix missing variable declaration for this.log - Fixes #22