LoggingFactory: Access to static method across operators

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

LoggingFactory: Access to static method across operators

Jayant Ameta
I am using a custom LoggingFactory. Is there a way to provide access to this custom LoggingFactory to all the operators other than adding it to all constructors?



Jayant
Reply | Threaded
Open this post in threaded view
|

Re: LoggingFactory: Access to static method across operators

Till Rohrmann
Hi Jayant,

I think you should be able to implement your own StaticLoggerBinder which returns your own LoggerFactory. That is quite similar to how the different logging backends (log4j, logback) integrate with slf4j.

Cheers,
Till

On Tue, Jul 24, 2018 at 5:41 PM Jayant Ameta <[hidden email]> wrote:
I am using a custom LoggingFactory. Is there a way to provide access to this custom LoggingFactory to all the operators other than adding it to all constructors?



Jayant