debug: move to hyprutils' logger (#12673)
This commit is contained in:
parent
f88deb928a
commit
6175ecd4c4
147 changed files with 1696 additions and 1709 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue