Log more stuff
This commit is contained in:
		
							parent
							
								
									29b7760bec
								
							
						
					
					
						commit
						b5c80d4603
					
				| @ -4,7 +4,11 @@ var geo = require('./lib/geo.min.js'); | ||||
| module.exports = function(io) { | ||||
|     io.on('connection', function(socket) { | ||||
| 
 | ||||
|         console.log('[SOK] ' + new Date() + ' ' + socket.conn.remoteAddress); | ||||
|         console.log('[SOK] ' + new Date() + ' ' + socket.conn.remoteAddress + ' connection'); | ||||
| 
 | ||||
|         socket.on('disconnect', function() { | ||||
|             console.log('[SOK] ' + new Date() + ' ' + socket.conn.remoteAddress + ' disconnect'); | ||||
|         }); | ||||
| 
 | ||||
|         var streamer = new geo.MeshStreamer(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user