Conversation
|
Well... Doesn't LOG_ERROR macro meet your needs? qCritical is mapped to LOG_ERROR level and means basically the same. IMO every serious error could be considered critical in the production environments. I understand that different projects have its own workflow and our set of log levels may not be suitable for every single project out there. But at the moment we are trying to keep things as simple and dumb as possible. Otherwise the better possible solution will be the ability to add custom log levels to CuteLogger but I'm not really sure, whether there is a real need for this kind of functionality. Please share your thoughts on this, maybe we will consider adding this kind of functionality in the future. |
|
Since there is a qCritical macro, I thought it would be natural to use LOG_CRITICAL. But I was just being nitpicky, you are right in the sense that we don't really need it. Your remark about the idea that every serious error could be considered critical in the production environments is totally sound. |
No description provided.