Delgan / loguru

Python logging made (stupidly) simple
MIT License
19.62k stars 695 forks source link

The printed log is abnormal. loguru==0.5.3 #1156

Open lvyaoyu opened 3 months ago

lvyaoyu commented 3 months ago

--- Logging error in Loguru Handler #0 --- Record was: {'elapsed': datetime.timedelta(seconds=332, microseconds=889589), 'exception': None, 'extra': {}, 'file': (name='api.py', path='/root/code/app/./api/api.py'), 'function': 'raise_screenshot', 'level': (name='ERROR', no=40, icon='❌'), 'line': 83, 'message': '错误信息:税号:000000000000000000 省区:1300 出口ip:0.000.000.00 iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAYAAADo08FDAAAgAElEQVR4nOzd+Xcka14eeGXGkktEZEpVl79l+i4lZUrKfV+kUjVtsGfGAwe3GZvxGfDxzDEz42YMp6ExfUuqRVJKtWipKkkppdbMlOo2B5tjDE1DYzazL41tbAym7q1by9UzP3zfiAypqu69jDlg6j4/fM4bGRnLG29EhnT05Dc0NP6lRyAiIiIiIiIiIiIiIiIior...(Subsequent ellipsis) image

lvyaoyu commented 3 months ago

The omitted text is base64 encoding of a picture

Delgan commented 3 months ago

Hi. Could you provide the entire stack trace, including the type of exception reported in the error message please?

Unfortunately, I'm unable to help you with the screen you've shared.