summaryrefslogtreecommitdiff
path: root/src/xwayland/XDataSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xwayland/XDataSource.cpp')
-rw-r--r--src/xwayland/XDataSource.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xwayland/XDataSource.cpp b/src/xwayland/XDataSource.cpp
index 8e7b2505..5d34a9d8 100644
--- a/src/xwayland/XDataSource.cpp
+++ b/src/xwayland/XDataSource.cpp
@@ -65,11 +65,11 @@ void CXDataSource::send(const std::string& mime, CFileDescriptor fd) {
}
if (!mimeAtom) {
- Debug::log(ERR, "[XDataSource] mime atom not found");
+ Log::logger->log(Log::ERR, "[XDataSource] mime atom not found");
return;
}
- Debug::log(LOG, "[XDataSource] send with mime {} to fd {}", mime, fd.get());
+ Log::logger->log(Log::DEBUG, "[XDataSource] send with mime {} to fd {}", mime, fd.get());
auto transfer = makeUnique<SXTransfer>(m_selection);
transfer->incomingWindow = xcb_generate_id(g_pXWayland->m_wm->getConnection());
@@ -94,15 +94,15 @@ void CXDataSource::send(const std::string& mime, CFileDescriptor fd) {
}
void CXDataSource::accepted(const std::string& mime) {
- Debug::log(LOG, "[XDataSource] accepted is a stub");
+ Log::logger->log(Log::DEBUG, "[XDataSource] accepted is a stub");
}
void CXDataSource::cancelled() {
- Debug::log(LOG, "[XDataSource] cancelled is a stub");
+ Log::logger->log(Log::DEBUG, "[XDataSource] cancelled is a stub");
}
void CXDataSource::error(uint32_t code, const std::string& msg) {
- Debug::log(LOG, "[XDataSource] error is a stub: err {}: {}", code, msg);
+ Log::logger->log(Log::DEBUG, "[XDataSource] error is a stub: err {}: {}", code, msg);
}
eDataSourceType CXDataSource::type() {