title: How to add logging to WCF?
body: <p>I've used the solution from <a href="https://stackoverflow.com/questions/24318061/net-web-api-add-logging">here</a> for logging (and insert to DB) REST request successfully, now i have to do the same to WCF</p>
  <pre><code>        [LogApiRequest]
          public NadlanData GetNadlanData(decimal Id, KodFamilyEnum KodFamily)
          {
              ClsDalByTz objByTz = new ClsDalByTz();           
              return objByTz.getDataFromMF(Id, DateTime.Now.Year - 5, (decimal)KodFamily);       
          }
  </code></pre>
  <p>I've tried to do the same  by adding [LogApiRequest] to the WCF function but it did not work.</p>
  <p>How can i implement the same solution for WCF?</p>