title: How do I find a trace listener (in code) that I declare in app.config?
body: <p>I have custom trace listener that logs to a string(which I'll bind to a wpf textbox) which I I'm trying to find in my ViewModelLocator, it (or all of the other listeners I defined) don't seem to be in System.Diagnostics.Trace.Listeners)</p>
  
  <p>App.config snippet</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
    &lt;system.diagnostics&gt;
      &lt;switches&gt;
        &lt;add name="RomanExampleWPFAppSwitch" value="Verbose" /&gt;
      &lt;/switches&gt;
      &lt;sources&gt;
        &lt;source name="RomanExampleWPFApp" switchName="RomanExampleWPFAppSwitch"&gt;
          &lt;listeners&gt;
            &lt;remove name="Default" /&gt;
            &lt;add name="RollingLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" initializeData="RollingLogWriter" append="true" autoFlush="true" baseFileName="RomanExampleWPFAppLog" location="LocalUserApplicationDirectory" logFileCreationSchedule="Daily" reserveDiskSpace="1073741824" traceOutputOptions="DateTime,LogicalOperationStack" /&gt;
            &lt;add name="StringLog" type="RomanExampleWPFApp.Other.StringLogTraceListener, RomanExampleWPFApp" /&gt;
            &lt;add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener" /&gt;
          &lt;/listeners&gt;
        &lt;/source&gt;
      &lt;/sources&gt;
    &lt;/system.diagnostics&gt;
  &lt;/configuration&gt;
  </code></pre>