Log.Node(node, verbose)

Returns a string that contains the path of the node passed in the argument. The second argument is optional and inserts the
NodeID
and object type in the returned string.
static string Node(IUANode
node
, bool
verbose
);

Arguments

node
(IUANode)
The node for which the path is to be generated in a string format.
verbose
(bool)
false
(default)
Does not insert additional information in the string returned.
true
Inserts the
NodeID
and object type in the string returned.

Returns

string
The path of the node passed as the argument. Based on the
verbose
argument value, it can also contain the
NodeId
and the object type.

Examples

The following example shows an API that generates a message consisting of the
Error on node
string and the
NetLogic path
, returned as a string by the
Log.Node
API:
Log.Info("Error on node " + Log.Node(LogicObject);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.