Developer Documentation
|
The Logging interface can be used by plugins to print messages in OpenFlippers log widget below the gl viewer (See image). The log widget can apply filters to visualize only the messages of a certain importance. The widget has 3 different modes, which can be toggled by pressing Ctrl + L:
The message importance level can be specified by the Logtype enum. There are four different levels which describe the importance and are represented by different colors in the log widget.
To use the LoggingInterface:
If you use the interface, all messages printed from that plugin will be prepended with the name of the plugin to identify the origin of the message.
The following code sends a log message