SolarCapture C Bindings User Guide  SF-115721-CD
Issue 3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_tracer Node Reference

Write debug trace to standard error.

Detailed Description

This node forwards its input to its output, and prints debug traces to the standard error stream. A message is emitted for each packet buffer forwarded, giving various information about the packet buffer.

The following output formats are available:

  • trace: sc_packet metadata, in human-readable format
  • hexdump: payload, as a hexadecimal dump
  • print: payload, as printed strings.

Arguments

Argument Optional? Default Type Description
mode Yes trace SC_PARAM_STR Either "trace", "hexdump", or "print".