In the above screenshot, we've a real time angular gauge that is monitoring CPU usage of multiple CPUs on the same gauge. Also, on the top of the gauge, we've used the message logger. As you can see above, the message logger contains multiple messages that were streamed to it by the server.
The message logger in FusionWidgets v3 has the following features:
- Message logger is supported in all the real-time gauges. The non real-time charts/gauges/graphs do not support message logger.
- Each real time update of the gauge can contain 1 message to be added to the logger.
- The message logger can contain any number of messages. It's a scrollable logger.
- The cosmetics of this message logger is fully customizable.
- Messages streamed to this message logger can either be displayed in the in-built logger or passed to any JavaScript function present in the same page. This helps you build your custom client side loggers, without having to worry about retrieving real time data from server, as that's handled by FusionWidgets.
- Can be switched on or off by setting <chart useMessageLog='0' or '1'> in the XML for the gauge.
- Additionally, your end users can also show/hide the message logger at client side using Shift+M key combination -A Flex API is provided to show/hide message logger as necessary.
- You can also use client side JavaScript to show/hide message logger for a gauge.
- Messages streamed to the logger can be of 4 types - INFO, ERROR, LITERAL, or LINK. You can decide the type for each message that you send to logger. Based on their type, they are displayed with different formatting in the Message Logger.
- The logger can be dynamically cleared at run-time (to get rid of existing messages). This is done either by sending a &clearLog=1 flag in the real-time data stream, or using client side JavaScript.
Let's see how to setup the message logger for your gauge in the next section. |