Constructor
new StreamLogger(SocketCommunicator)
Default constructor that initializes the socket communicator
Parameters:
Name | Type | Description |
---|---|---|
SocketCommunicator |
JSON | The SocketCommunicator object which will send data |
- Source:
Methods
log(data)
The logging function which emits the message to be logged to the communication engine
Parameters:
Name | Type | Description |
---|---|---|
data |
String | The message to be logged on the server |
- Source: