public LogglyAppender() { LogglyAsync = new LogglyAsyncHandler(); Timer.Timer t = new Timer.Timer(); t.Interval = 20000; t.Enabled = true; t.Elapsed += t_Elapsed; }