Logging what MDriven does
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
</html> | </html> | ||
[[Category:Visual Studio]] | |||
[[Category:VS2010]] |
Revision as of 12:39, 4 December 2018
This page was created by Alexandra on 2018-12-04. Last edited by Edgar on 2025-01-20.
❗🕜 Warning: this article may contain outdated information. Consider before using any descriptions/solutions, otherwise it still can be helpful. Help : Synonyms and name changes
This sample contained a nice section that send all ECO sql-logs to the Output window in VS2010.
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();