You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just reviewed #61 and ended up with some questions.
I think this might be good to document a bit on the main readme docs. What happens when I use a reserved word in my log statements? prefix disappears weirdly, but lvl just shows up and doesn't change the lvl? I could maybe make a table but I don't know well enough I don't remember exactly how each of them is used.
I'm also curious why are there reserved words in the log line stuff? what does that help with, like these aren't for the logger options these are on each log line so I'm just confused how they work? do some of them get used?
The text was updated successfully, but these errors were encountered:
i'm guessing they show up when using json or slog in general? it makes sense to reserve these words i just don't know what happens when i use them and it surprised me, so i figure maybe a readme update will help.
Hi @dezren39, thank you for reporting this one. There are indeed some reserved words used to denote different kinds of values such as time, level, and msg. Feel free to send a PR
I just reviewed #61 and ended up with some questions.
I think this might be good to document a bit on the main readme docs. What happens when I use a reserved word in my log statements? prefix disappears weirdly, but lvl just shows up and doesn't change the lvl? I could maybe make a table but I don't know well enough I don't remember exactly how each of them is used.
I'm also curious why are there reserved words in the log line stuff? what does that help with, like these aren't for the logger options these are on each log line so I'm just confused how they work? do some of them get used?
The text was updated successfully, but these errors were encountered: