🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Logging what MDriven does
No edit summary
No edit summary
Line 1: Line 1:
This sample contains a nice section that sends all ECO SQL logs to the Output window:
This sample contains a helpful section that sends all ECO SQL logs to the Output window:


<html>
<html>

Revision as of 05:49, 30 October 2023

This page was created by Alexandra on 2018-12-04. Last edited by Edgar on 2025-01-20.

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

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments