ALERT
There are multiple reasons why we may need to capture an application activity.- Recording unusual circumstances or errors that may be happening in the program
- Getting the info about what's going in the application
Log Levels
By default, there are 4 standard levels indicating the severity of events. Each has a corresponding method that can be used to log events at that level of severity. Also, the message generated will the of the same color as the block. The defined levels, in order of increasing severity, are the following:
Info: It provides the user with general info or a confirmation that things are working as expected
Success: It indicates that an action or activity was successful.
Warning: An indication that something unexpected happened, or indicative of some problems in the near future.
Error: Due to a more serious problem, the program has not been able to perform some function