LoginSignup
0
0

More than 5 years have passed since last update.

Socket.io デバッグ情報の消し方

Last updated at Posted at 2018-04-02

デバッグ情報の消し方

console.logで出力した際にデバッグ情報がうざい時

sample.js
// 定義
var app = require('http').createServer(handler),
    io = require('socket.io').listen(app);
// 対策
io.set('log level', 1);

これでデバッグ情報が表示されなくなる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0