Class: LogStream

LogStream

new LogStream(connection, id)

LogStream.js, line 17

A live stream of matching logs being written to the server. You are not expected to create instances of this class, instead they are handed to you by the Connection#stream callback.

This is a ReadableStream in object mode. See Connection~Log for the received object format.

Name Type Description
connection Connection
id string

Extends

  • Readable

Members

readonlyconnectionConnection

Parent connection

readonlystoppedboolean

Whether this stream has been shut down

Methods

stop()

LogStream.js, line 58

Shutdown this stream