public NHibernateAppender() { _latch = new object(); _formatter = new ParamBuilderFormatter(new FormattingEngine()); _queue = new Queue <LoggingEvent>(); _worker = new BackgroundWorker(); _worker.DoWork += ProcessQueue; _worker.RunWorkerAsync(); }
public NHibernateAppender() { _latch = new object(); _formatter = new ParamBuilderFormatter( new FormattingEngine() ); _queue = new Queue<LoggingEvent>(); _worker = new BackgroundWorker(); _worker.DoWork += ProcessQueue; _worker.RunWorkerAsync(); }
public void Setup() { // Setup FormattingEngine engine = new FormattingEngine(); _appender = new ParamBuilderFormatter( engine ); }