warn(*args) public

Displays each of the given messages followed by a record separator on STDERR unless warnings have been disabled (for example with the -W0 flag).

  warn("warning 1", "warning 2")

<em>produces:</em>

  warning 1
  warning 2
Show source
Register or log in to add new notes.