結果 : create stored logging function in python