結果 : log implementation in python