Enables logging.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public static void enableLogging( Phidget..::.LogLevel level, string file ) |
Visual Basic (Declaration) |
---|
Public Shared Sub enableLogging ( _ level As Phidget..::.LogLevel, _ file As String _ ) |
Visual C++ |
---|
public: static void enableLogging( Phidget..::.LogLevel level, String^ file ) |
Parameters
- level
- Type: Phidgets..::.Phidget..::.LogLevel
The highest level of logging that will be output.
- file
- Type: System..::.String
Filename to log to. Specify NULL to output to the console.
Remarks
This enables logging of library messages to a file or the console. This is usually used for debugging the phidget21 C library.