github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/logger/redirect_stderr_dummy.go (about)

     1  // Copyright 2016 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  
     4  //go:build android
     5  // +build android
     6  
     7  package logger
     8  
     9  import (
    10  	"errors"
    11  	"os"
    12  )
    13  
    14  func tryRedirectStderrTo(f *os.File) (err error) {
    15  	return errors.New("Redirecting stderr is not supported on this operating system")
    16  }