github.com/bhameyie/otto@v0.2.1-0.20160406174117-16052efa52ec/builtin/scriptpack/stdlib/data/output.sh (about)

     1  # otto_output can be used to write output to the screen that is clearly
     2  # marked as coming from Otto. It is recommended for all messages to the user.
     3  otto_output() {
     4      echo "[otto] $@"
     5  }
     6  
     7  # otto_log sends the given output to the syslog
     8  otto_log() {
     9      echo "[otto] $@" | logger -t otto >/dev/null
    10  }