Logging what MDriven does
This page was created by Alexandra on 2018-12-04. Last edited by Edgar on 2025-08-31.
This sample contained a nice section that send 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();