Logging what MDriven does
No edit summary |
(Updated Edited template to July 12, 2025.) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
< | <message>Write the content here to display this box</message> | ||
This sample contains a helpful section that sends all ECO SQL logs to the Output window: | |||
This sample | |||
<html> | <html> | ||
Line 22: | Line 14: | ||
</html> | </html> | ||
[[Category:Visual Studio]] | [[Category:Visual Studio]] | ||
{{Edited|July|12|2025}} |
Revision as of 05:51, 20 January 2025
This page was created by Alexandra on 2018-12-04. Last edited by Edgar on 2025-08-22.
This sample contains a helpful section that sends all ECO SQL logs to the Output window:
Eco.Logging.EcoLogSwitches.LogSql = true; Eco.Logging.EcoListener.Singleton.OnTraceLog += (sender, args) => { System.Diagnostics.Trace.WriteLine(Thread.CurrentThread.Name + ":" + args.Message); }; Eco.Logging.EcoListener.StartListening();