Class CadCrashLogReader
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Reads the crash log the app writes (%AppData%\OpenCAD2D\crash.log, the older half crash.old.log): a file of
entries that begin ==== time ====, then the app, the system, where it was caught, the last command, whether it was
fatal and the exception as .NET prints it.
public static class CadCrashLogReader
- Inheritance
-
CadCrashLogReader
- Inherited Members
Fields
- HeadLines
The lines of an entry's exception that are kept: its message and the top of its stack.
Methods
- Read(string, int)
Reads the newest entries, the newest first: those of the file, then, where it holds fewer than asked for, those of the file of the same name with
.oldbefore its extension.