How to initialize any logger at one place to use it in multiple controller