結果 : how to define logger in python