warn multimethod

Methods

warn(s:Str) Source: stdlib.ngs:3800
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.