예제 #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);
        }