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); }
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); }