有没有办法保存异常的IPython输出?

有没有办法保存异常的IPython输出?,python,ipython,Python,Ipython,configdb\u log\u输出仅保存非异常,是否也有保存异常的方法

config
db\u log\u输出
仅保存非异常,是否也有保存异常的方法