XFNLNET_CLASS_LOGGING

Logging settings for xfNetLink .NET

The XFNLNET_CLASS_LOGGING setting specifies the type of information to be logged by the xfNetLink .NET client. It can be set for all classes or a single class.

One or more of the following, separated by commas:

NONE = Turn logging off.

ALL = Log all categories of information below.

ERROR = Log errors only.

USER = Log information about user-defined methods only. (User-defined methods are those defined in the SMC.) Includes parameters passed in and shows what is in the parameter after the call.

SUPPORT = Log calls to the utility methods in the class (e.g., connect( ), disconnect( )  ). Includes parameters passed in and out.

MISC = Log messages regarding configuration settings.

PROTOCOL = Log complete packets that are sent and received on the client; includes a date/time stamp. If encryption is enabled, the log displays a string of 10 asterisks instead of the packet contents.

The default is NONE (logging is off).

CLASS in the environment variable name can be either DEFAULT (which means the setting applies to all classes) or the name of a specific class in your assembly (which means it applies only to that class).

This environment variable can be used with any xfNetLink .NET application. If an application configuration file exists for a .NET Framework application, the value set in the config file will override the corresponding environment variable.

The environment where the client program runs.

xfNetLink .NET

Using client-side logging

This example logs errors and packets for the MyClass class.

set XFNLNET_MyClass_LOGGING = ERROR, PROTOCOL