This is wrong, we should use logger