Example: Compact Ouput
By default, log messages are printed to the console with a good deal of whitespace for better readability. In this example, verbose output has been disabled so each message gets output on a single line without wrapping.
The UI of LogReader can be customized via certain properties and methods, as well as CSS classes. Please refer to the Sample Code section for details on how to achieve the following effects.
By default, log messages are printed to the console with a good deal of whitespace for better readability. In this example, verbose output has been disabled so each message gets output on a single line without wrapping.
By default, new messages get prepended at the top of the console. In this example, new messages get appended at the bottom of the console.
Although the Drag and Drop Utility is available on the page, draggability of this LogReader has been disabled.
The first LogReader will show only global info messages. The second LogReader will only show info messages coming from the "LogReader" class.
Output buffer has been increased to 3 seconds. Therefore, messages are printed to the screen every 3 seconds.
Resume this LogReader | Pause this LogReader | Log a simple message
Output has been paused.
Show this LogReader | Hide this LogReader | Log a simple message
The entire LogReader console has been hidden.