The easiest way to find the swift log files is from the file menu:
The path is something like here:
- Then some magic name representing your swift version, like H%3A%2FProjects%2FQtBuilds%2Fbuild-swift-Desktop_Qt_5_11_1_MSVC2017_64bit2-Debug%2Fout%2Fdebug%2Fbin\ + logs
- See also: Find cache and settings files (where swift stores its data)
On MacOS, the Path is '~/Library/Application Support/org.swift-project'
The crashpad files are located next to the log directory, dmp are most useful file types. See also Crash reports / enable crash dumps.