Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/lwnode/lwnode-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
#define LWNODE_VERSION_MAJOR 1
#define LWNODE_VERSION_MINOR 1
#define LWNODE_VERSION_PATCH 24
#define LWNODE_VERSION_TAG "v1.1.24"
#define LWNODE_VERSION_TAG "1.1.24"
7 changes: 6 additions & 1 deletion src/api/utils/logger/logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include "logger.h"
#include <iomanip> // for setfill and setw
#include "lwnode/lwnode-version.h"

// Dlog
#ifdef HOST_TIZEN
Expand All @@ -27,7 +28,11 @@ void DlogOut::flush(std::stringstream& ss,
auto c =
config ? std::static_pointer_cast<DLogConfig>(config) : LogKind::lwnode();
#ifdef HOST_TIZEN
dlog_print(DLOG_INFO, c->tag.c_str(), "%s", ss.str().c_str());
dlog_print(DLOG_INFO,
c->tag.c_str(),
"(%s)%s",
LWNODE_VERSION_TAG,
ss.str().c_str());
#else
// For testing. StdOut will be used to flush buffers through stdout.
std::cout << std::left << std::setfill(' ') << std::setw(6) << c->tag << " "
Expand Down
Loading