mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-31 02:21:36 +00:00
debug: better debug names
This commit is contained in:
parent
c3bf7f87f6
commit
9cf2dffa67
@ -1,7 +1,7 @@
|
|||||||
module.exports = Client
|
module.exports = Client
|
||||||
|
|
||||||
var Buffer = require('safe-buffer').Buffer
|
var Buffer = require('safe-buffer').Buffer
|
||||||
var debug = require('debug')('bittorrent-tracker')
|
var debug = require('debug')('bittorrent-tracker:client')
|
||||||
var EventEmitter = require('events').EventEmitter
|
var EventEmitter = require('events').EventEmitter
|
||||||
var extend = require('xtend')
|
var extend = require('xtend')
|
||||||
var inherits = require('inherits')
|
var inherits = require('inherits')
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module.exports = Swarm
|
module.exports = Swarm
|
||||||
|
|
||||||
var debug = require('debug')('bittorrent-tracker')
|
var debug = require('debug')('bittorrent-tracker:swarm')
|
||||||
var LRU = require('lru')
|
var LRU = require('lru')
|
||||||
var randomIterate = require('random-iterate')
|
var randomIterate = require('random-iterate')
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ module.exports = Server
|
|||||||
|
|
||||||
var Buffer = require('safe-buffer').Buffer
|
var Buffer = require('safe-buffer').Buffer
|
||||||
var bencode = require('bencode')
|
var bencode = require('bencode')
|
||||||
var debug = require('debug')('bittorrent-tracker')
|
var debug = require('debug')('bittorrent-tracker:server')
|
||||||
var dgram = require('dgram')
|
var dgram = require('dgram')
|
||||||
var EventEmitter = require('events').EventEmitter
|
var EventEmitter = require('events').EventEmitter
|
||||||
var http = require('http')
|
var http = require('http')
|
||||||
|
Loading…
Reference in New Issue
Block a user