Allow to configure json log format.
Currently local-path-provisioner is using github.com/sirupsen/logrus for the logs, but it hardcodes format to be &logrus.TextFormatter{FullTimestamp: true}.
Logrus supports also logrus.JSONFormatter, see e.g. https://github.com/sirupsen/logrus#environments.
Allow to configure json log format.
Currently local-path-provisioner is using github.com/sirupsen/logrus for the logs, but it hardcodes format to be
&logrus.TextFormatter{FullTimestamp: true}.Logrus supports also
logrus.JSONFormatter, see e.g. https://github.com/sirupsen/logrus#environments.