node.debug("Hello")
works for me in a function node. Although in settings.js
my debugging level is set to the default of "info", so it is basically ignored. Using node.warn("Hello")
shows up in the log and the debug tab in the editor. The same settings file shows the hierarchy of log messages as below. Since "warn" is above the setting of "info", it will be included, but "debug" is below, so it will not. Either way, I don't get an error. Can you show your actual code?
// Level of logging to be recorded. Options are:
// fatal - only those errors which make the application unusable should be recorded
// error - record errors which are deemed fatal for a particular request + fatal errors
// warn - record problems which are non fatal + errors + fatal errors
// info - record information about the general running of the application + warn + error + fatal erro$
// debug - record information which is more verbose than info + info + warn + error + fatal errors
// trace - record very detailed logging + debug + info + warn + error + fatal errors
// off - turn off all logging (doesn't affect metrics or audit)