Manage the log in level.
0 - Off 1 - Only Errors 3 - Log all information about the called procedure
<system.diagnostics>
<switches>
<add name="DotnetProject.Switch" value="4" />
</switches>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="DotnetProjectListener" type="System.Diagnostics.TextWriterTraceListener"
initializeData="c:\LogFile.txt" />
</listeners>
</trace>
</system.diagnostics>
GenericDataHelper Class | DotnetProject.Data Namespace