Is your feature request related to a problem? Please describe.
When using the Publisher class to publish or subscribe to a channel you can pass a parameter called "with_logging" to override the default way for printing in the console output.
Printing, however, would break the flow of logs when using a custom format of Logger (also from anvil-extras).
It would be interesting if the Publisher construtor and it's methods could receive a Logger instance to use to print in the correct format.
The Level could be INFO (by default or as parameter) and the same message printed now could be the msg parameter of the logger format.
Is your feature request related to a problem? Please describe. When using the Publisher class to publish or subscribe to a channel you can pass a parameter called "with_logging" to override the default way for printing in the console output.
Printing, however, would break the flow of logs when using a custom format of Logger (also from anvil-extras).
It would be interesting if the Publisher construtor and it's methods could receive a Logger instance to use to print in the correct format.
The Level could be INFO (by default or as parameter) and the same message printed now could be the msg parameter of the logger format.