It can also be used to log trace & debug type of messages - these are more for the developer and as a debugging tool.
- Display informative, warning, error messages
- Display trace and debug level messages for the developer
- No need to comment out statements to disable them, just change the priority level
- Change the number of statements displayed by lowering or increasing the priority level
- Display messages in alert box, div or any custom mechanism like a separate window. You can add your own display mechanism