mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 10:56:25 +00:00
better debug log
This commit is contained in:
parent
14d3b5fad6
commit
6935841d56
@ -130,7 +130,7 @@ Server.prototype.listen = function (/* port, hostname, onlistening */) {
|
||||
var port = toNumber(arguments[0]) || arguments[0] || 0
|
||||
var hostname = typeof arguments[1] !== 'function' ? arguments[1] : undefined
|
||||
|
||||
debug('listen %o %o', port, hostname)
|
||||
debug('listen port: %o hostname: %o', port, hostname)
|
||||
|
||||
function isObject (obj) {
|
||||
return typeof obj === 'object' && obj !== null
|
||||
|
Loading…
Reference in New Issue
Block a user