public Log4GridAppender() { mProcess = System.Diagnostics.Process.GetCurrentProcess(); mCpuCounter = new CPUCounter(mProcess.ProcessName); System.Threading.ThreadPool.QueueUserWorkItem(OnSend); mTimer = new System.Threading.Timer(OnStat, null, 1000, 1000); }