Edit control is not convenient for this purpose (simultaneous logging + analyzing).
ListBox could be more appropriate for this purpose. Have a look at A Logging ListBox Control