2017-01-05 11:40:18 -08:00
|
|
|
// +build appengine
|
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2017-06-23 12:45:04 -07:00
|
|
|
import "io"
|
|
|
|
|
2017-01-05 11:40:18 -08:00
|
|
|
// IsTerminal returns true if stderr's file descriptor is a terminal.
|
2017-06-23 12:45:04 -07:00
|
|
|
func IsTerminal(f io.Writer) bool {
|
2017-01-05 11:40:18 -08:00
|
|
|
return true
|
|
|
|
}
|