mux-demux-logger

Intercept mdm streams and log them

mux-demux-logger

Intercept mdm streams and log them

Intercept mux-demux data and log it to console.log

var MuxDemux = require("mux-demux-net")
    , logger = require("..")
 
MuxDemux(logger(function (stream) {
    stream.on("data", function (data) {
        stream.write("echo" + data)
    })
}), 8642)

npm install mux-demux-logger

  • Raynos