title: How to change the format of log output in logrus?
body: <p>I use Go logrus and I need to change the format of the output message. I tried several things without success.</p>
  <p>What I need is format like this with formatter of logrus</p>
  <p><code>[error]: datetime -  message</code></p>
  <p>What I've tried without success is this</p>
  <pre class="lang-golang prettyprint-override"><code>     logger := &amp;logrus.Logger{
              Out:   os.Stderr,
              Level: level,
              Formatter: &amp;logrus.TextFormatter{
                  DisableColors: true,
                  TimestampFormat : &quot;2006-01-02 15:04:05&quot;,
                  FullTimestamp:true,
      
              },
          }
  </code></pre>
  <p>This produce the following</p>
  <pre><code>    time=&quot;2018-02-25 10:42:20&quot; level=error msg=&quot;Starting Process&quot;
  </code></pre>
  <p>And I want it to be</p>
  <pre><code>    [INFO]:2018-02-25 10:42:20 - Starting Process
  </code></pre>