title: Creating Log file for C# windows Application
body: <p>I have written a code block to generate log file so that I can get all the functions being called.</p>
  
  <p>I used the <code>Microsoft.Practises.EnterpriseLibrary.Logging</code> dll to get the log file generated can I know how to get that generated.</p>
  
  <pre><code>string procName = "reports_plan_and_proj.plan_v_paid_inv_pay_method_sum";
  Logger.Write("SQL:GetPlanvsPaidInvestPmtMthdSummary():: " + procName, "SQL");
  </code></pre>