SlapperAutoMapper / Slapper.AutoMapper

Slapper.AutoMapper maps dynamic data to static types. Slap your data into submission!
MIT License
287 stars 76 forks source link

Get Output from Slapper.AutoMapper Built-In Logger #55

Open asanchez128 opened 7 years ago

asanchez128 commented 7 years ago

The title of this question says it all. I tried to get the output of the built-in logger by adding the following lines to an app.config file

<system.diagnostics>
    <trace autoflush="false" indentsize="4">
      <listeners>
        <add name="myListener" type="Slapper.AutoMapper.Logging.TraceLogger" initializeData="TextWriterOutput.log" />
        <remove name="Default" />
      </listeners>
    </trace>
  </system.diagnostics>

I have already read the source code at this repo. However, I did not find an example of its use in an external application. I would really appreciate your expertise on this one.