ngmoco/timber — pull request #3 by dgrijalva (2012-09-13 22:03:41+00:00)
Title: Rework of BufferedWriter to be safer and more flexible

Two issues I'm solving here:
1) bufio.Writer isn't safe to be accessed from multiple goroutines at once.
2) buffer flushing is based on buffer size. apps that log take forever to flush

Solutions:
1) changed all operations on bufio.Writer to happen in a goroutine
2) added an explicit Flush method