1
0

Added logging

This commit is contained in:
Tycho 2014-06-14 17:23:57 +01:00
parent 039c1a75f3
commit 061102c778

View File

@ -403,9 +403,18 @@ private:
class cStarvationCallbacks
: public cAllocationPool<cChunkData::sChunkSection,1600>::cStarvationCallbacks
{
virtual void OnStartingUsingBuffer() {}
virtual void OnStopUsingBuffer() {}
virtual void OnBufferEmpty() {}
virtual void OnStartingUsingBuffer()
{
LOG("Using backup memory buffer");
}
virtual void OnStopUsingBuffer()
{
LOG("Stoped using backup memory buffer");
}
virtual void OnBufferEmpty()
{
LOG("Out of Memory");
}
};
typedef std::list<cChunkLayer *> cChunkLayerList;