Type.registerNamespace('no.filmarkivet');
no.filmarkivet.logService=function() {
no.filmarkivet.logService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
no.filmarkivet.logService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return no.filmarkivet.logService._staticInstance.get_path();},
NewEntry:function(source,level,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NewEntry',false,{source:source,level:level,message:message},succeededCallback,failedCallback,userContext); }}
no.filmarkivet.logService.registerClass('no.filmarkivet.logService',Sys.Net.WebServiceProxy);
no.filmarkivet.logService._staticInstance = new no.filmarkivet.logService();
no.filmarkivet.logService.set_path = function(value) { no.filmarkivet.logService._staticInstance.set_path(value); }
no.filmarkivet.logService.get_path = function() { return no.filmarkivet.logService._staticInstance.get_path(); }
no.filmarkivet.logService.set_timeout = function(value) { no.filmarkivet.logService._staticInstance.set_timeout(value); }
no.filmarkivet.logService.get_timeout = function() { return no.filmarkivet.logService._staticInstance.get_timeout(); }
no.filmarkivet.logService.set_defaultUserContext = function(value) { no.filmarkivet.logService._staticInstance.set_defaultUserContext(value); }
no.filmarkivet.logService.get_defaultUserContext = function() { return no.filmarkivet.logService._staticInstance.get_defaultUserContext(); }
no.filmarkivet.logService.set_defaultSucceededCallback = function(value) { no.filmarkivet.logService._staticInstance.set_defaultSucceededCallback(value); }
no.filmarkivet.logService.get_defaultSucceededCallback = function() { return no.filmarkivet.logService._staticInstance.get_defaultSucceededCallback(); }
no.filmarkivet.logService.set_defaultFailedCallback = function(value) { no.filmarkivet.logService._staticInstance.set_defaultFailedCallback(value); }
no.filmarkivet.logService.get_defaultFailedCallback = function() { return no.filmarkivet.logService._staticInstance.get_defaultFailedCallback(); }
no.filmarkivet.logService.set_path("/fjernleje/error/logService.asmx");
no.filmarkivet.logService.NewEntry= function(source,level,message,onSuccess,onFailed,userContext) {no.filmarkivet.logService._staticInstance.NewEntry(source,level,message,onSuccess,onFailed,userContext); }
if (typeof(no.filmarkivet.LogLevel) === 'undefined') {
no.filmarkivet.LogLevel = function() { throw Error.invalidOperation(); }
no.filmarkivet.LogLevel.prototype = {Debug: 0,Info: 1,Warn: 2,Error: 3,Fatal: 4}
no.filmarkivet.LogLevel.registerEnum('no.filmarkivet.LogLevel', true);
}
