stderr


Node.js

  1. process.stderr.write('hello error\n')

Output

  1. hello error

Go

  1. package main
  2. import (
  3. "fmt"
  4. "os"
  5. )
  6. func main() {
  7. fmt.Fprint(os.Stderr, "hello error\n")
  8. }

Output

  1. hello error