...
Those log types are available from within the Data class.
Type |
---|
Data::LOG_INFO |
Data::LOG_DEBUG |
Data::LOG_NOTICE |
Data::LOG_CRITICAL |
Data::LOG_ERROR |
Data::LOG_WARNING |
In normal cases, we use Data::setLogNotice/Data::setLogInfo to log notices, but from Data::setLogInternal we can also choose our own severity, and depending on the choice the logs are separated. But they is always there. The goal is to log as much as possible (on demand) so that it get easier to track problems to the correct source. Also, very much all customer events that is vital for "weird tracking" is being done; for example, a very common problem for merchants is when a customer decides to start a payment, but in the middle of the process further chooses to not proceed.
...