An open API service indexing awesome lists of open source software.

https://github.com/pardeike/vscode-remotelogserver

Visual Studio Code extension that accepts log data on a socket so you see the log in realtime in a document without touching the disk
https://github.com/pardeike/vscode-remotelogserver

Last synced: about 1 year ago
JSON representation

Visual Studio Code extension that accepts log data on a socket so you see the log in realtime in a document without touching the disk

Awesome Lists containing this project

README

          

# Remote Log Server README

Use your Visual Studio Code editor as a log destination. Creates no files on disk and works for remote logging too.

## Usage

Press to start a server, and connect to the server via telnet or socket programms sending text.

Example python code:

```
import socket
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.connect(('localhost', 8888))
s.send('Hello World\n'.encode())
```

You can also use `telnet localhost 8888` from bash. Please note that the server does not run in line buffering mode so you can send partial lines.

## Features

1. [CTRL+F12] to start the server
2. [SHIFT+F12] to stop the server
3. [F12] to toggle the server (pause/resume)

## Extension Settings

This extension contributes the following settings:

* `RemoteLogServer.host`: The host address of the remote control server, default = 'localhost'.
* `RemoteLogServer.port`: The tcp/ip port the remote control server listens to, default = 9527.

-----------------------------------------------------------------------------------------------------------

**Enjoy!**