A message is an event that is generated by different components and modules. These events can be exceptions such as errors, warnings, information to a user, or a debug statement to debug a module.
Messages are classified based on the following severity levels:
Error: Indicates that an action cannot be completed because of a user or system error. These messages are critical and require immediate attention from an administrator.
Warning: Indicates an exception condition. These messages might not be an error but can cause problems if not resolved. These messages do not require immediate attention from an administrator.
Information: Provides feedback about something that happened in the product or system that is important and informative for an administrator.
Debug: Provides debug information to troubleshoot and solve problems that might occur. The debug messages are stored only in the local file.