Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Aug 18, 2016
1 parent 445cf40 commit f20a0d6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions log/color.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// +build !appengine

package log

import (
"io"

"github.com/mattn/go-colorable"
)

func output() io.Writer {
return colorable.NewColorableStdout()
}
9 changes: 9 additions & 0 deletions log/white.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// +build appengine

package log

import "io"

func output() io.Writer {
return os.stdout
}

0 comments on commit f20a0d6

Please sign in to comment.