{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-app-core-core-log",
  "title": "Log",
  "section": "Library asset reference",
  "description": "Log Writes a labeled value to the captured execution log and passes that value onward. Use it for deliberate diagnostics, not as a protected data sink. Sockets and configuration - exec (control): optional execution gate. - value (any, optio",
  "kind": "node",
  "url": "/wiki/reference-app-core-core-log/",
  "markdown": "/wiki/reference-app-core-core-log/index.md",
  "json": "/wiki/reference-app-core-core-log/index.json",
  "headings": [
    {
      "id": "sockets-and-configuration",
      "title": "Sockets and configuration",
      "depth": 2
    },
    {
      "id": "example",
      "title": "Example",
      "depth": 2
    },
    {
      "id": "limits-and-sensitive-data",
      "title": "Limits and sensitive data",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "app-core",
  "contract": {
    "key": "app.core.core.log",
    "slug": "app-core-core-log",
    "name": "Log",
    "kind": "node",
    "family": "app-core",
    "packId": null,
    "category": "Outputs",
    "description": "",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "value",
        "name": "Value",
        "type": "any",
        "typeName": "Any",
        "required": false
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "value",
        "name": "Value",
        "type": "any",
        "typeName": "Any",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": "Output"
        }
      }
    },
    "documentation": "# Log\n\nWrites a labeled value to the captured execution log and passes that value onward. Use it for deliberate diagnostics, not as a protected data sink.\n\n## Sockets and configuration\n- **exec** (control): optional execution gate.\n- **value** (any, optional): data to record and pass through.\n- **value** (any): unchanged input.\n- **next** (control): automatic success route.\n- **label** (string): default Output. An empty/falsy label also falls back to Output.\n\n## Example\nConfigure label as `Decoded count` and supply a number such as 3. The run's captured log contains the label/value; connect next to a subsequent operation and value if that operation needs the same data. Wiring a condition route to Execute restricts logging to the selected branch.\n\n## Limits and sensitive data\nConsole output is retained in run/node diagnostics. Worker logging is bounded (1,000 lines, approximately 64 KiB total, with individual lines truncated at 8,192 characters). Large objects therefore cannot be reconstructed reliably from logs. Stored secret matching redacts known string values, but transformed/encoded/truncated credentials may escape matching. Avoid logging headers, tokens, full private events or customer records; select a compact safe projection upstream.\n\nThe node makes no external request, secret lookup or durable-state update. Logging does not persist a checkpoint or deduplicate a delivery. An absent optional value can disappear from serialized output and cause a connected data consumer to skip, although next remains a valid route. To produce a clear terminal workflow result, use Workflow output.",
    "tags": [
      "builtin",
      "node"
    ],
    "source": "app-builtin-catalog"
  }
}
