結果 : how to create error log in python