Check if logger is set, also no need to return true