head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2002.09.07.01.50.38; author curt; state Exp; branches; next 1.3; 1.3 date 2002.08.31.19.01.54; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.18.54.01; author curt; state Exp; branches; next 1.1; 1.1 date 2002.02.15.17.21.57; author curt; state Exp; branches; next ; desc @@ 1.4 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# logstream.hxx File Reference

Stream based logging mechanism. More...

`#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.

## Compounds
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...
class | logstream
| Class to manage the debug logging stream. More...
struct | logstream_base
| A helper class that ensures a streambuf and ostream are constructed and destroyed in the correct order. More...
## Defines
#define | SG_LOG(C, P, M) sglog() << loglevel(C,P) << M << endl
| Log a message.
## Functions
| SG_USING_STD (streambuf)
| SG_USING_STD (ostream)
| SG_USING_STD (cerr)
| SG_USING_STD (endl)
## Variables
logstream * | global_logstream

## Detailed Description

Stream based logging mechanism.

Definition in file logstream.hxx.

## Define Documentation

#define SG_LOG | ( | C,
|  | P,
|  | M |  | ) | sglog() << loglevel(C,P) << M << endl

  | Log a message. Parameters:
  C | debug class
  P | priority
  M | message
Definition at line 301 of file logstream.hxx. Referenced by SGTime::init(), SGInterpTable::interpolate(), SGSocketUDP::open(), SGSocket::open(), SGSerial::open(), SGFile::open(), FGSerialPort::open_port(), SGSocket::read(), FGSerialPort::read_port(), SGSocket::readline(), SGSerial::readline(), FGSerialPort::set_baud(), SGInterpTable::SGInterpTable(), SGSocket::SGSocket(), SGTime::sgTimeCalcGST(), SGTime::sgTimeCurrentMJD(), SGTime::sgTimeGetGMT(), SGTime::update(), SGTime::updateLocal(), SGSocketUDP::write(), SGSocket::write(), SGSerial::write(), SGFile::write(), and FGSerialPort::write_port().

@ 1.3 log @Oops, try again. @ text @d101 1 a101 1