Adds a message to the log.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public static void log( Phidget..::.LogLevel level, string identifier, string log ) |
Visual Basic (Declaration) |
---|
Public Shared Sub log ( _ level As Phidget..::.LogLevel, _ identifier As String, _ log As String _ ) |
Visual C++ |
---|
public: static void log( Phidget..::.LogLevel level, String^ identifier, String^ log ) |
Parameters
- level
- Type: Phidgets..::.Phidget..::.LogLevel
The level to enter the log at.
- identifier
- Type: System..::.String
An arbitrary identifier for this log. This can be NULL. The C library uses this field for source filename and line number.
- log
- Type: System..::.String
The message to log.
Remarks
This adds a line to the log at a certain logging level. This is usefull for debugging, but be aware that the log will be full of low level
C API logs, and is not generally usefull to those outside of Phidgets Inc.