Moved editLog function to Logs class