File: chat-websocket/node_modules/socket.io/node_modules/redis/examples/monitor.js

Recommend this page to a friend!
  Classes of Igor Escobar   Terminal Crossword   chat-websocket/node_modules/socket.io/node_modules/redis/examples/monitor.js   Download  
File: chat-websocket/node_modules/socket.io/node_modules/redis/examples/monitor.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 2 years ago
Size: 267 bytes
 

Contents

Class file image Download
var client = require("../index").createClient(), util = require("util"); client.monitor(function (err, res) { console.log("Entering monitoring mode."); }); client.on("monitor", function (time, args) { console.log(time + ": " + util.inspect(args)); });