// js/util/log/appender/Remote.js
//
// Created: 03.02.2011 (pj)
///////////////////////////////////////////////////////////////////////////////



pj.log.appender.Remote = function()
{
    this.constructor = pj.log.appender.Abstract;
    this.constructor();

    this.log = function(message)
    {
    	var url = application.getJsonRpcUrl(),
    		func = "logging.log",
    		data = {
    			message: message
    		};
    	jsonrpc.callAsync(url, func, data, onLogSuccessful, onLogFailed);
    };

	function onLogSuccessful(resp)
	{
	}

	function onLogFailed(resp)
	{
	}
};

