Fix ConfigureLogging Closure

Signed-off-by: Graham Campbell <graham@mineuk.com>
Use passed $app instance in Closure instead

Signed-off-by: Graham Campbell <graham@mineuk.com>