#include <simgear/compiler.h>
#include <streambuf>
#include <ostream>
#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) |
| Log a message. | |
Definition in file logstream.hxx.
| #define SG_LOG | ( | C, | |||
| P, | |||||
| M | ) |
Value:
do { \ logstream& __tmplogstreamref(sglog()); \ if(__tmplogstreamref.would_log(C,P)) { \ __tmplogstreamref << loglevel(C,P) << M << std::endl; } \ } while(0)
| C | debug class | |
| P | priority | |
| M | message |
Definition at line 297 of file logstream.hxx.
1.5.6