Specifies the logging options that the NewsFeed class supports.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
The NewsFeed class uses the TraceOptions enumeration to specify what kind of debugging information is written to the trace logfile. These options are only meaningful when trace logging is enabled by setting the Trace property to true.
Member Name | Description | Value |
---|---|---|
traceDefault | The default trace logging option. This is the same as specifying the traceInfo option. | 0 |
traceInfo | All network function calls are written to the trace file. This is the default value. | 0 |
traceError | Only those network function calls which fail are recorded in the trace file. | 1 |
traceWarning | Only those network function calls which fail, or return values which indicate a warning, are recorded in the trace file. | 2 |
traceHexDump | All network function calls are written to the trace file, plus all the data that is sent or received is displayed, in both ASCII and hexadecimal format. | 4 |
traceProcess | All function calls in the current process are logged, rather than only those functions in the current thread. This option is useful for multithreaded applications that are using worker threads. | 4096 |
Namespace: SocketTools
Assembly: SocketTools.NewsFeed (in SocketTools.NewsFeed.dll)