Closed windupbird144 closed 6 months ago
disable a placeholder once, e.g. with an escape character
Currently LogTape has no way to do this. The way to escape curly braces would be nice to have.
disable the use of placeholders entirely, e.g. in the call to configure
You can use a template literal syntax, e.g.:
logger.debug `Hello {world}`;
It would be nice to make the escaping syntax overlapping curly braces, similar to the formatting syntax in C#/Python, e.g.:
logger.debug("Hello {{world}}");
I want to log messages with curly braces. Here's a minimal code example.
This logs
But I want to log
If I don't want to use placeholders, is it possible to
If you are open to contributions I'd be willing to write a PR for this.