public override void DoAction(IEventArgs args) { if (debug) { FreeLog.Enable(); } else { FreeLog.Disable(); } if (!string.IsNullOrEmpty(fields)) { FreeLog.SetParas(fields); } }