Added `logOptionIsDeprecated` method to `logger`