title: Golang logrus - how to do a centralized configuration?
body: <p>I am using logrus in a Go app. I believe this question is applicable to any other logging package (which doesn't offer external file based configuration) as well.</p>
  
  <p>logrus provides functions to setup various configuration, e.g. SetOutput, SetLevel etc.</p>
  
  <p>Like any other application I need to do logging from multiple source files/packages, it seems you need to setup these options in each file with logrus. </p>
  
  <p>Is there any way to setup these options once somewhere in a central place to be shared all over the application. That way if I have to make logging level change I can do it in one place and applies to all the components of the app.</p>