github.com/go-kit/log@v0.2.1/term/terminal_stub.go (about)

     1  // Based on ssh/terminal:
     2  // Copyright 2013 The Go Authors. All rights reserved.
     3  // Use of this source code is governed by a BSD-style
     4  // license that can be found in the LICENSE file.
     5  
     6  //go:build appengine || js
     7  // +build appengine js
     8  
     9  package term
    10  
    11  import "io"
    12  
    13  // IsTerminal always returns false on AppEngine.
    14  func IsTerminal(w io.Writer) bool {
    15  	return false
    16  }