useful call hierarchy logger in python