Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[Snippet] Error Reporting System. (Noob Friendly)

Instead of giving the error files numeric names, why not sort them by the Exception Type?
Code
string ExceptionType = e.GetType().Name;

Then use File.AppendAllText() rather than File.WriteAllText()

Much easier to look through your errors.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Warriors] by Py_DevOct 30, 2024 01:14 PM 4 262 Oct 30, 2024 01:14 PM
Last Post: Py_Dev
[.NET] by еlixirSep 9, 2022 06:31 AM 0 132 Sep 9, 2022 06:31 AM
Last Post: еlixir
[.NET] by KinotehpJul 28, 2020 07:10 AM 0 67 Jul 28, 2020 07:10 AM
Last Post: Kinotehp