X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FEngine.cc;fp=src%2FMoof%2FEngine.cc;h=56e98b926bf6fed2f6fe7edadfd8c742b4339659;hp=ccfaf81e6d77b0b0b195f4c279a0d183563ac323;hb=b357615aba1dbde81e3c6999366604e6001010a7;hpb=246d7d6e4386b686327163d621c7c8b398b7d479 diff --git a/src/Moof/Engine.cc b/src/Moof/Engine.cc index ccfaf81..56e98b9 100644 --- a/src/Moof/Engine.cc +++ b/src/Moof/Engine.cc @@ -73,7 +73,7 @@ public: { char vdName[128]; SDL_VideoDriverName(vdName, sizeof(vdName)); - logDebug << "initialized SDL; using video driver `" + logInfo << "initialized SDL; using video driver `" << vdName << "'" << std::endl; } @@ -94,7 +94,7 @@ public: else { alcMakeContextCurrent(mAlContext); - logDebug << "opened sound device `" + logInfo << "opened sound device `" << alcGetString(mAlDevice, ALC_DEFAULT_DEVICE_SPECIFIER) << "'" << std::endl; } @@ -282,7 +282,7 @@ public: { ASSERT(layer && "cannot push null layer"); mStack.push_front(layer); - logDebug << "stack: " << mStack.size() + logInfo << "stack: " << mStack.size() << " [pushed " << layer.get() << "]" << std::endl; layer->pushed(mInterface); } @@ -294,7 +294,7 @@ public: LayerP layer = mStack.front(); mStack.pop_front(); - logDebug << "stack: " << mStack.size() + logInfo << "stack: " << mStack.size() << " [popped " << layer.get() << "]" << std::endl; layer->popped(mInterface); @@ -324,7 +324,7 @@ public: for (it = layers.begin(); it != layers.end(); ++it) { (*it)->popped(mInterface); - logDebug << "stack: " << mStack.size() + logInfo << "stack: " << mStack.size() << " [popped " << (*it).get() << "]" << std::endl; } @@ -341,7 +341,7 @@ public: { mStack.clear(); mStackIt = mStack.begin(); - logDebug("stack: 0 [cleared]"); + logInfo("stack: 0 [cleared]"); }