結果 : python use logger instead of print