title: How to change the date/time format of Go's log package
body: <p>When using the <a href="http://golang.org/pkg/log/">log package</a>, Go outputs something like </p>
  
  <pre><code>2009/11/10 23:00:00 Hello, world
  </code></pre>
  
  <p>How can I change the date and time format to something like <code>dd.mm.yyy hh:mm:ss</code>? Example (<a href="http://play.golang.org/p/848Wa50X0d">playground link</a>):</p>
  
  <pre><code>package main
  
  import "log"
  
  func main() {
      log.Println("Hello, playground")
  }
  </code></pre>