#include <simgear/compiler.h>
#include <iostream.h>
#include <simgear/sg_traits.hxx>
#include <simgear/debug/debug_types.h>
Go to the source code of this file.
Classes | |
| class | logbuf |
| logbuf is an output-only streambuf with the ability to disable sets of messages at runtime. More... | |
| struct | loglevel |
| logstream manipulator for setting the log level of a message. More... | |
| struct | logstream_base |
| A helper class that ensures a streambuf and ostream are constructed and destroyed in the correct order. More... | |
| class | logstream |
| Class to manage the debug logging stream. More... | |
Defines | |
| #define | SG_LOG(C, P, M) sglog() << loglevel(C,P) << M << endl |
| Log a message. | |
| #define | SG_STRINGIFY(x) #x |
| #define | SG_TOSTRING(x) SG_STRINGIFY(x) |
| #define | SG_ORIGIN __FILE__ ":" SG_TOSTRING(__LINE__) |
Variables | |
| logstream * | global_logstream |
Definition in file logstream.hxx.
| #define SG_LOG | ( | C, | |||
| P, | |||||
| M | ) | sglog() << loglevel(C,P) << M << endl |
Log a message.
| C | debug class | |
| P | priority | |
| M | message |
Definition at line 322 of file logstream.hxx.
Referenced by RenderTexture::_InitializeTextures(), RenderTexture::_VerifyExtensions(), SGSubsystemMgr::add(), SGMaterialLib::add_item(), RenderTexture::BeginCapture(), Shader::bind(), SGStars::build(), SGPath::create_dir(), RenderTexture::EndCapture(), PropsVisitor::endElement(), SampleStatistic::error(), SGModelLib::flush1(), SGMaterial::get_state(), SGXmlSound::init(), SGShadowVolume::init(), SGBbCache::init(), RenderTexture::Initialize(), SGSoundSample::is_playing(), SGStarData::load(), SGMaterialLib::load(), SGMaterial::load_texture(), SGSocketUDP::open(), SGSocket::open(), SGSerial::open(), SGFile::open(), SGSerialPort::open_port(), SGSoundMgr::pause(), ssgEntityArray::print(), PrintExtensionError(), SGSubsystem::printTimingInformation(), SGSocket::read(), SGBinObject::read_bin(), SGSerialPort::read_port(), SGSocket::readline(), SGSerial::readline(), SGCloudLayer::rebuild(), RenderTexture::RenderTexture(), SGCloudLayer::reposition(), RenderTexture::Reset(), sgSimpleBuffer::resize(), RenderTexture::Resize(), SGSoundMgr::resume(), SGSerialPort::set_baud(), SGPropertyNode::setDoubleValue(), Shader::setEnvParameter(), SGPropertyNode::setFloatValue(), Shader::setLocalParameter(), Shader::setParameter(), sgCloudMakeState(), SGInterpTable::SGInterpTable(), SGMatModel::SGMatModel(), SGMatModelGroup::SGMatModelGroup(), sgSimpleBuffer::sgSimpleBuffer(), SGSocket::SGSocket(), SGSoundMgr::SGSoundMgr(), SGSoundSample::SGSoundSample(), sgTimeCalcGST(), sgTimeCurrentMJD(), sgTimeFormatTime(), sgTimeGetGMT(), Shader::Shader(), PropsVisitor::startElement(), Test::Test(), SGXmlSound::update(), SGTime::update(), SGTime::updateLocal(), PropsVisitor::warning(), SGSocketUDP::write(), SGSocket::write(), SGSerial::write(), SGFile::write(), SGSerialPort::write_port(), and SGSoundSample::~SGSoundSample().
1.5.1