mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-13 19:15:07 -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
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
||||
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
|
||||
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
||||
|
||||
#include "ThreadRecord.hpp"
|
||||
@@ -196,7 +196,7 @@ std::unique_ptr<db::QueryResult> ThreadRecordInterface::markAsReadQuery(const st
|
||||
auto result = false;
|
||||
|
||||
if (record.isValid()) {
|
||||
LOG_DEBUG("query-read %d", static_cast<int>(localQuery->read));
|
||||
LOG_DEBUG("Query read: %d", static_cast<int>(localQuery->read));
|
||||
record.unreadMsgCount = localQuery->read == db::query::MarkAsRead::Read::True ? 0 : 1;
|
||||
result = Update(record);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user