aboutsummaryrefslogtreecommitdiff
path: root/src/base/platform
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-08-18 18:38:10 +0800
committerYuqian Yang <crupest@crupest.life>2025-08-18 18:38:10 +0800
commitb53780b2106b0f233c48e27653336b8a629ca486 (patch)
treee5e2659eb23852012804e9ba8a290a8e19d8230f /src/base/platform
parentd3568fb844c7b9ea59783b04899dbd94ad972b91 (diff)
downloadcru-b53780b2106b0f233c48e27653336b8a629ca486.tar.gz
cru-b53780b2106b0f233c48e27653336b8a629ca486.tar.bz2
cru-b53780b2106b0f233c48e27653336b8a629ca486.zip
Rename CRU_LOG_* to CRU_LOG_TAG_*.
Diffstat (limited to 'src/base/platform')
-rw-r--r--src/base/platform/unix/PosixSpawnSubProcess.cpp2
-rw-r--r--src/base/platform/unix/UnixPipe.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base/platform/unix/PosixSpawnSubProcess.cpp b/src/base/platform/unix/PosixSpawnSubProcess.cpp
index 5e09c494..631c14b8 100644
--- a/src/base/platform/unix/PosixSpawnSubProcess.cpp
+++ b/src/base/platform/unix/PosixSpawnSubProcess.cpp
@@ -162,7 +162,7 @@ SubProcessExitResult PosixSpawnSubProcessImpl::PlatformWaitForProcess() {
while (waitpid(pid_, &wstatus, 0) == -1) {
if (errno == EINTR) {
- CRU_LOG_INFO(u"Waitpid is interrupted by a signal. Call it again.");
+ CRU_LOG_TAG_INFO(u"Waitpid is interrupted by a signal. Call it again.");
continue;
}
diff --git a/src/base/platform/unix/UnixPipe.cpp b/src/base/platform/unix/UnixPipe.cpp
index 747efe94..f512c2f4 100644
--- a/src/base/platform/unix/UnixPipe.cpp
+++ b/src/base/platform/unix/UnixPipe.cpp
@@ -43,7 +43,7 @@ UnixPipe::~UnixPipe() {
if (auto_close_) {
auto self_fd = GetSelfFileDescriptor();
if (::close(self_fd) != 0) {
- CRU_LOG_ERROR(u"Failed to close unix pipe file descriptor {}, errno {}.",
+ CRU_LOG_TAG_ERROR(u"Failed to close unix pipe file descriptor {}, errno {}.",
self_fd, errno);
}
}