(1 Remove the dependency on DebugView, print log directly in the console, of course, you can directly relocate to the file.
2 Added filtering
3 Improved execution efficiency (when log is relocated to a file, it basically does not affect the work of the program))