aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/vendor/github.com/labstack/gommon/log/color.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/dma/vendor/github.com/labstack/gommon/log/color.go')
-rw-r--r--src/dma/vendor/github.com/labstack/gommon/log/color.go13
1 files changed, 13 insertions, 0 deletions
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
index 00000000..7351b39c
--- /dev/null
+++ b/src/dma/vendor/github.com/labstack/gommon/log/color.go
@@ -0,0 +1,13 @@
+// +build !appengine
+
+package log
+
+import (
+ "io"
+
+ "github.com/mattn/go-colorable"
+)
+
+func output() io.Writer {
+ return colorable.NewColorableStdout()
+}