tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Feature Request: Conditional Logging options

Open gabrielOttopia opened this issue 6 months ago • 0 comments

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!

gabrielOttopia avatar Sep 05 '24 12:09 gabrielOttopia