Twiner-WebSlog icon

WebSlog

A simple WebSocket Server which forwards BepInEx log output to connected websocket clients

Last updated 3 months ago
Total downloads 478
Total rating 1 
Dependency string Twiner-WebSlog-3.0.4
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

bbepis-BepInExPack-3.0.0 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 3.0.0
README



WebSlog

A ProtoBuf powered WebSocket Log forwarder for BepInEx


This is a patcher time mod for BepInEx which provides a simple WebSocket Server that forward's
bepinex log messages to connected WebSockets on the local machine.

This is primarily intended to provide the ability to create alternative log display systems for bepinex.

WebSlog forwards messages over Websockets using protobuf-net , an implementation of Google's Protobuf.

The protobuf definition for log messages is as follows;

    [ProtoContract]
    public class LogEntry
    {
        [ProtoMember(1)]
        public string Source { get; internal set; }

        [ProtoMember(2)]
        public string Level { get; internal set; }

        [ProtoMember(3)]
        public int LevelCode { get; internal set; }

        [ProtoMember(4)]
        public string Data { get; internal set; }
    }

Change Log

3.0.2 / 3.0.3 / 3.0.4
  • Update this description to fix formatting errors
3.0.1
  • Update README.md with change log and protobuf definition
3.0.0
  • Migrate to using Protobuf for websocket protocol
2.2.2
  • Attempt to use Newtonsoft because Manual json is error prone and I'm stupid for trying it.
2.2.1
  • Fix manual JSON setup
2.2.0
  • Migrate off JsonUtility due to compatibility issues, implement simple manual JSON.
2.1.0
  • Migrate to using JsonUtiliy
1.1.0
  • Cache logs and forward cached logs to clients upon connect
1.0.0
  • Initial Release

Available versions

Please note that the install buttons only work if you have compatible client software installed. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2020-5-11 3.0.4 89 Twiner-WebSlog-3.0.4.zip Install
2020-5-11 3.0.3 34 Twiner-WebSlog-3.0.3.zip Install
2020-5-11 3.0.2 34 Twiner-WebSlog-3.0.2.zip Install
2020-5-11 3.0.1 31 Twiner-WebSlog-3.0.1.zip Install
2020-5-9 3.0.0 48 Twiner-WebSlog-3.0.0.zip Install
2020-5-9 2.2.2 36 Twiner-WebSlog-2.2.2.zip Install
2020-5-9 2.2.1 37 Twiner-WebSlog-2.2.1.zip Install
2020-5-8 2.2.0 47 Twiner-WebSlog-2.2.0.zip Install
2020-5-8 2.1.0 38 Twiner-WebSlog-2.1.0.zip Install
2020-5-3 1.1.0 48 Twiner-WebSlog-1.1.0.zip Install
2020-5-3 1.0.0 36 Twiner-WebSlog-1.0.0.zip Install