結果 : how to create a logger class in python