AsyncWcfLib

WcfTrc Class

Use these static methods to write debugging trace or logs.

This way you are able to redirect your trace anywhere.

How to run it:

1. call WcfTrc.UsePlugin(x) when you don't want to use WcfTrcPluginDefault

2. call WcfTrc.Start(appInstance) to direct output to the correct file and write a trace-header

3. periodically call WcfTrc.Run() to write the filebuffer to disk

4. calling WcfTrc.Stop() during shutdown writes the trace-footer

For a list of all members of this type, see WcfTrc Members .

System.Object
   WcfTrc

public class WcfTrc

Requirements

Namespace: SourceForge.AsyncWcfLib

Assembly: SF.AsyncWcfLib (in SF.AsyncWcfLib.dll)

See Also

WcfTrc Members | SourceForge.AsyncWcfLib Namespace