Mayil-AI-Sandbox / loguru-Jan2023

MIT License
0 stars 0 forks source link

Can `loguru` conditionally display the extra field if the data is non-empty only? (hashtag1164) #144

Closed vikramsubramanian closed 2 months ago

vikramsubramanian commented 2 months ago

My template contains | {extra} at the end. Is it possible to only print that part of any extra arguments are present? Right now all my logging lines without extra data end in | {}. )