We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want a custome output to get the line and the file of the output log. I tried
logger.set_pattern("[%Y-%m-%d %H:%M:%S.%e] [%n] [%^%l%$] [%@] %v")
However, the [%@] seems not working, I know I can using inspect, but it is not a performant way
[%@]
inspect
I expected to get
[2024-12-30 16:03:42.268] [test] [critical] [your_script.py:123] This is a critical message
But the line and file braket is always empty.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want a custome output to get the line and the file of the output log. I tried
However, the
[%@]
seems not working, I know I can usinginspect
, but it is not a performant wayI expected to get
But the line and file braket is always empty.
The text was updated successfully, but these errors were encountered: