python from eliot import start_action, to_file to_file(open("app.log", "w")) with start_action(action_type="myapp:myaction"): with start_action(action_type="myapp:subaction", key="value"): print("Hello, Eliot!")