mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.Everything:
This commit is contained in:
parent
5931758dbc
commit
723effd051
13 changed files with 55 additions and 48 deletions
|
@ -63,9 +63,9 @@ RangeAllocator::~RangeAllocator()
|
|||
void RangeAllocator::dump() const
|
||||
{
|
||||
ASSERT(m_lock.is_locked());
|
||||
dbg() << "RangeAllocator{" << this << "}";
|
||||
dbgln("RangeAllocator({})", this);
|
||||
for (auto& range : m_available_ranges) {
|
||||
dbg() << " " << String::format("%x", range.base().get()) << " -> " << String::format("%x", range.end().get() - 1);
|
||||
dbgln(" {:x} -> {:x}", range.base().get(), range.end().get() - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -161,7 +161,7 @@ Range RangeAllocator::allocate_specific(VirtualAddress base, size_t size)
|
|||
#endif
|
||||
return allocated_range;
|
||||
}
|
||||
dbg() << "VRA: Failed to allocate specific range: " << base << "(" << size << ")";
|
||||
dbgln("VRA: Failed to allocate specific range: {}({})", base, size);
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue