index.js
function send(socket, host, port, loggingObject)
{
	var buffer = new Buffer(JSON.stringify(loggingObject));
	socket.send(buffer, 0, buffer.length, port, host, function(err, bytes)
	{
		if (err)
		{
			console.error('log4js-logstash-appender (%s:%p) - %s', host, port, util.inspect(err));
		}
	});
}
function send(socket, host, port, loggingObject)
{
	var buffer = new Buffer(JSON.stringify(loggingObject));
	socket.send(buffer, 0, buffer.length, port, host, function(err, bytes)
	{
		if (err)
		{
			console.error('log4js-logstash-appender (%s:%p) - %s', host, port, util.inspect(err));
		}
	});
}
function send ( socket , host , port , loggingObject ) { var buffer = new Buffer ( JSON . stringify ( loggingObject ) ) ; socket . send ( buffer , 0 , buffer . length , port , host , function ( err , bytes ) { if ( err ) { console . error ( 'log4js-logstash-appender (%s:%p) - %s' , host , port , util . inspect ( err ) ) ; } } ) ; }
Sends data to logstash.
Sends data to logstash .