Allow none value for the logger