Skip to content
salboaie edited this page Oct 17, 2012 · 3 revisions

This node will collect all errors and all debug information sent from adaptors and swarms. Even from client,you can launch "log.js" swarm and add more information in logger. This logger can be connected to your existing logging solution ( windows logging, linux logs, Paul Bunyan logging,etc)

In SwarmUtil, 3 functions global can be used in adaptors and swarms:

logInfo(message,details,[aspect]) => log various information, aspect is a string to help filter

logDebug(message,details[aspect]) => log debug information

logErr(message,err) => log errors

APIs

  • doLog
Clone this wiki locally