FIFE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
logger.h File Reference
#include <iomanip>
#include <iostream>
#include <list>
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include "util/base/fife_stdint.h"
#include "modules.h"
+ Include dependency graph for logger.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FIFE::LMsg
 Helper class to create log strings out from separate parts Usage: LMsg("some text") << variable << ", " << other variable. More...
 
class  FIFE::LogManager
 Logmanager takes care of log filtering and output direction. More...
 
class  FIFE::Logger
 Create a Logger instance to communicate with LogManager Logger stores information about the current module thus reducing the typing needed for individual traces Common way of doing things is to instantiate a static Logger on top of .cpp file and then use that in .cpp-file's methods. More...
 
struct  FIFE::pprint
 Helper for printing a pointer. More...
 

Namespaces

 FIFE
 All FIFE related code is in this namespace.
 
 std
 

Macros

#define FL_DBG(logger, msg)
 
#define FL_LOG(logger, msg)
 
#define FL_WARN(logger, msg)
 
#define FL_ERR(logger, msg)
 
#define FL_PANIC(logger, msg)
 

Functions

template<class Ch , class Tr >
basic_ostream< Ch, Tr > & std::operator<< (basic_ostream< Ch, Tr > &s, const FIFE::pprint &p)
 Print a pprint object to an ostream. More...
 

Macro Definition Documentation

#define FL_PANIC (   logger,
  msg 
)

Definition at line 74 of file logger.h.

Referenced by FIFE::GuiImage::getPixel(), and FIFE::GuiImage::putPixel().

#define FL_WARN (   logger,
  msg 
)

Definition at line 72 of file logger.h.

Referenced by FIFE::Console::action(), FIFE::SoundClipManager::add(), FIFE::ImageManager::add(), FIFE::InstanceTree::addInstance(), FIFE::VFS::addNewSource(), FIFE::Camera::attach(), FIFE::SoundClipManager::create(), FIFE::ImageManager::create(), FIFE::VFS::createSource(), gcn::TwoButton::draw(), gcn::ToggleButton::draw(), FIFE::OpenGLeGuiGraphics::drawText(), FIFE::OpenGLGuiGraphics::drawText(), FIFE::Console::execute(), FIFE::EventManager::fillKeyEvent(), FIFE::SoundClipManager::free(), FIFE::ImageManager::free(), FIFE::SoundClipManager::get(), FIFE::ImageManager::get(), FIFE::RendererNode::getAttachedInstance(), FIFE::RendererNode::getAttachedLayer(), FIFE::RendererNode::getAttachedLocation(), FIFE::RendererNode::getAttachedPoint(), FIFE::RendererNode::getCalculatedPoint(), FIFE::Model::getCellGrid(), FIFE::RendererNode::getOffsetLocation(), FIFE::RendererNode::getOffsetPoint(), FIFE::Model::getPather(), FIFE::ImageManager::getPtr(), FIFE::SoundClipManager::getResourceHandle(), FIFE::ImageManager::getResourceHandle(), FIFE::VFS::getSourceForFile(), FIFE::Engine::init(), FIFE::SoundClipManager::load(), FIFE::ImageManager::load(), FIFE::SoundClip::load(), FIFE::GUIChanManager::onSdlEvent(), FIFE::SoundClipManager::reload(), FIFE::ImageManager::reload(), FIFE::SoundClipManager::remove(), FIFE::ImageManager::remove(), FIFE::Instance::removeActionListener(), FIFE::Instance::removeChangeListener(), FIFE::Instance::removeDeleteListener(), FIFE::InstanceTree::removeInstance(), FIFE::GridRenderer::render(), FIFE::InstanceRenderer::render(), FIFE::QuadTreeRenderer::render(), FIFE::CellSelectionRenderer::render(), FIFE::BlockingInfoRenderer::render(), FIFE::CellRenderer::render(), FIFE::EngineSettings::setBitsPerPixel(), FIFE::EngineSettings::setInitialVolume(), FIFE::EngineSettings::setLightingModel(), FIFE::Cursor::setNativeCursor(), FIFE::RendererNode::setRelative(), FIFE::EngineSettings::setRenderBackend(), FIFE::VFSSourceProvider::setVFS(), and FIFE::GUIChanManager::translateKeyEvent().