Parameters

message any Variable to debug

Examples

Stores a message in the log file, with verbose level, only if nlserver was started with the -verbose flag.

If executed in an environment of a workflow/delivery/typology, it also prints to the output.

Review logs location, levels, rotation & best practices in the Logs introduction.

var myString = "Hello " + "world";
logVerbose(myString); // Hello world
var myInt = 42 + 8;
logVerbose(myInt); // 50
// todo
//var myDate = new Date()
//var myArray = [abc, def]
//var myArray = [Hello, World].join

See also

  • 📕 logInfo - Store and display a message with Info level.
  • 📕 logWarning - Store and display a message with Warning level.
  • 📕 logError - Store and display a message with Error level, and throws an Exception.