Add warn to logger