WCF Tracing can be used for the instrumentation of the WCF Service.
There are essentially four steps involved in WCF Tracing

Emitting Trace information from Service
To emit trace information WCF provides different sources. However you have choice to create trace source using TraceSource class as well. You can choose any of WCF Assembly level trace source to emit the tracing information.
WCF Assembly level Trace Sources are as below,
System.ServiceModel
System.ServiceModel.MessageLogging
System.ServiceModel.IdentityModel
System.ServiceModel.Activation
System.Runtime.Serilization
System.IO.Log
Read more: DEBUG MODE……