Logging what MDriven does
No edit summary
m ((username removed) (log details removed): Moving to Documentation namespace)
(No difference)

Revision as of 21:13, 20 December 2023

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();

This page was edited 93 days ago on 02/10/2024. What links here