Пример #1
0
 public static void InitSampleSelectAppender(string elementId)
 {
     var select = HtmlContext.window.document.getElementById(elementId).As<HtmlSelectElement>();
     var appender = new SelectAppender(select);
     var log = log4javascript.log4javascriptContext.getDefaultLogger();
     log.addAppender(appender);
 }
Пример #2
0
        public static void InitSampleSelectAppender(string elementId)
        {
            var select   = HtmlContext.window.document.getElementById(elementId).As <HtmlSelectElement>();
            var appender = new SelectAppender(select);
            var log      = log4javascript.log4javascriptContext.getDefaultLogger();

            log.addAppender(appender);
        }