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 often times want only to log something if an action fails. It would make my code a lot cleaner if i could do something like logger.conditional.info(true, "log msg")
or info.conditional
I could create a function that does this but it would be nice to be built into the logger!
The text was updated successfully, but these errors were encountered:
Description / Use Case for a Feature
I often times want only to log something if an action fails. It would make my code a lot cleaner if i could do something like
logger.conditional.info(true, "log msg")
or
info.conditional
I could create a function that does this but it would be nice to be built into the logger!
The text was updated successfully, but these errors were encountered: