debug: move to hyprutils' logger (#12673)
This commit is contained in:
parent
f88deb928a
commit
6175ecd4c4
147 changed files with 1696 additions and 1709 deletions
|
|
@ -17,7 +17,7 @@ CDecorationPositioner::CDecorationPositioner() {
|
|||
|
||||
Vector2D CDecorationPositioner::getEdgeDefinedPoint(uint32_t edges, PHLWINDOWREF pWindow) {
|
||||
if (!pWindow) {
|
||||
Debug::log(ERR, "getEdgeDefinedPoint: invalid pWindow");
|
||||
Log::logger->log(Log::ERR, "getEdgeDefinedPoint: invalid pWindow");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ Vector2D CDecorationPositioner::getEdgeDefinedPoint(uint32_t edges, PHLWINDOWREF
|
|||
const int EDGESNO = TOP + BOTTOM + LEFT + RIGHT;
|
||||
|
||||
if (EDGESNO == 0 || EDGESNO == 3 || EDGESNO > 4) {
|
||||
Debug::log(ERR, "getEdgeDefinedPoint: invalid number of edges");
|
||||
Log::logger->log(Log::ERR, "getEdgeDefinedPoint: invalid number of edges");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ Vector2D CDecorationPositioner::getEdgeDefinedPoint(uint32_t edges, PHLWINDOWREF
|
|||
if (BOTTOM && LEFT)
|
||||
return wb.pos() + Vector2D{0.0, wb.size().y};
|
||||
}
|
||||
Debug::log(ERR, "getEdgeDefinedPoint: invalid configuration of edges");
|
||||
Log::logger->log(Log::ERR, "getEdgeDefinedPoint: invalid configuration of edges");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue