Platforms to show: All Mac Windows Linux Cross-Platform
Back to PhidgetLogMBS class.
PhidgetLogMBS.addSource(source as String, LogLevel as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This is useful for declaring a source and setting its log level before sending any messages.
source: The source name
level: The log level of the source
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
PhidgetLogMBS.enable(LogLevel as Integer, destination as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
LogLevel: The logging level
destination: The log file path, or "" for STDOUT
PhidgetLogMBS.enableNetwork(address as string, port as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
PhidgetLogMBS.getRotating(byref size as UInt64, byref keepCount as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
size: The file size above which the log file should be rotated.
keepCount: The number of log files that will be kept after rotation.
PhidgetLogMBS.Log(LogLevel as Integer, Message as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
PhidgetLogMBS.Log(LogLevel as Integer, Source as String, Message as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This will only have an effect if automatic rotation is disabled and the log file is larger than the specified maximum file size.
PhidgetLogMBS.setRotating(size as UInt64, keepCount as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
size: The file size above which the file should be rotated in bytes. Min: 32768 (32 KiB) Def: 10485760 (10 MiB)
keepCount: The number of log files that should be kept after rotation. Min: 0 Def: 1 Max: 64
PhidgetLogMBS.SourceLevel(source as String) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read and Write computed property)
PhidgetLogMBS.Sources as String()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The items on this page are in the following plugins: MBS Phidgets Plugin.