Ironfish Wasm
UsageProtocol

node/getLogStream

Streams logs from the node

Request Body #

undefined

Response #

{
  level: string
  type: string
  tag: string
  args: string
  date: string
}

Example #

# Request
curl -X POST -N http://localhost:8021/node/getLogStream

# Response
{
  "data": {
    "level": "4",
    "type": "debug",
    "tag": "start:ironfishsdk:ironfishnode:peernetwork:peermanager:webrtcconnection",
    "args": "[\"\\u001b[32mCONN\\u001b[39m WebRtc 2uHo+// STATE WAITING_FOR_IDENTITY -> CONNECTED\"]",
    "date": "2023-05-02T19:48:39.664Z"
  }
}
View on Github

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.