mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-18 20:14:12 -04:00
[BH-1688] Create a standard for logs
* Adding document describing how to use logger * Adjusting logs to follow a new guide * Change order in log header: line number is now before function name
This commit is contained in:
committed by
Łukasz Mastalerz
parent
a21736e3a6
commit
d9a1194e6f
@@ -91,7 +91,7 @@ namespace gui
|
||||
}
|
||||
|
||||
if (const auto pdata = dynamic_cast<SMSThreadData *>(data); pdata != nullptr) {
|
||||
LOG_INFO("Thread data received: %" PRIu32, pdata->thread->ID);
|
||||
LOG_DEBUG("Thread data received: %" PRIu32, pdata->thread->ID);
|
||||
saveInfoAboutPreviousAppForProperSwitchBack(data);
|
||||
|
||||
smsModel->numberID = pdata->thread->numberID;
|
||||
@@ -110,7 +110,7 @@ namespace gui
|
||||
}
|
||||
|
||||
if (const auto pdata = dynamic_cast<SMSTextData *>(data); pdata != nullptr) {
|
||||
LOG_INFO("received sms templates data");
|
||||
LOG_DEBUG("Received sms templates data");
|
||||
if (pdata->concatenate == SMSTextData::Concatenate::True) {
|
||||
smsModel->smsInput->inputText->addText(pdata->text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user