Commit f273f1b4 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

refactor: logs on stderr

parent 28c8638e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -128,15 +128,15 @@ stages:
  set -e

  function log_info() {
      echo -e "[\\e[1;94mINFO\\e[0m] $*"
    >&2 echo -e "[\\e[1;94mINFO\\e[0m] $*"
  }

  function log_warn() {
      echo -e "[\\e[1;93mWARN\\e[0m] $*"
    >&2 echo -e "[\\e[1;93mWARN\\e[0m] $*"
  }

  function log_error() {
      echo -e "[\\e[1;91mERROR\\e[0m] $*"
    >&2 echo -e "[\\e[1;91mERROR\\e[0m] $*"
  }

  function fail() {