Update LoggingApiCaller.php

Avoid warning when option is not set