print to logger