warn multimethod

Methods

warn(s:Str) Source: stdlib.ngs:4016
Write warning message to standard error. Prints backtrace if NGS_TRACE_WARNINGS environment variable is not an empty string.

Example

warn("Could not open input file $my_file , skipping it.")
# Approximate output on stderr:
# [WARNING 2018-01-01 00:00:00 YOUR_TZ] Could not open input file ./my_file , skipping it.
warn(lines:Lines) Source: autoload/Lines.ngs:27
Write all lines to standard error using warn(Str)