src: Add DMA localagent
[barometer.git] / src / dma / vendor / github.com / labstack / gommon / log / color.go
diff --git a/src/dma/vendor/github.com/labstack/gommon/log/color.go b/src/dma/vendor/github.com/labstack/gommon/log/color.go
new file mode 100644 (file)
index 0000000..7351b39
--- /dev/null
@@ -0,0 +1,13 @@
+// +build !appengine
+
+package log
+
+import (
+       "io"
+
+       "github.com/mattn/go-colorable"
+)
+
+func output() io.Writer {
+       return colorable.NewColorableStdout()
+}