meta-information for debugs() or a similar debugging call More...
#include <Debug.h>

Public Member Functions | |
Context (const int aSectionLevel, const int aLevel) | |
Public Attributes | |
int | level |
minimum debugging level required by the debugs() call More... | |
int | sectionLevel |
maximum debugging level allowed during the call More... | |
Private Member Functions | |
void | rewind (const int aSection, const int aLevel) |
Optimization: avoids new Context creation for every debugs(). More... | |
void | formatStream () |
configures default formatting for the debugging stream More... | |
Private Attributes | |
Context * | upper |
previous or parent record in nested debugging calls More... | |
std::ostringstream | buf |
debugs() output sink More... | |
bool | forceAlert |
the current debugs() will be a syslog ALERT More... | |
Friends | |
class | Debug |
Detailed Description
Constructor & Destructor Documentation
◆ Context()
Definition at line 792 of file debug.cc.
References formatStream().
Member Function Documentation
◆ formatStream()
|
private |
◆ rewind()
Definition at line 803 of file debug.cc.
References assert, buf, Debug::Current, and Debug::Levels.
Referenced by Debug::Start().
Friends And Related Function Documentation
◆ Debug
Member Data Documentation
◆ buf
|
private |
Definition at line 70 of file Debug.h.
Referenced by Debug::Finish(), and Debug::Start().
◆ forceAlert
|
private |
Definition at line 71 of file Debug.h.
Referenced by Debug::Finish(), and Debug::ForceAlert().
◆ level
int Debug::Context::level |
Definition at line 62 of file Debug.h.
Referenced by Debug::Finish(), and Debug::Level().
◆ sectionLevel
int Debug::Context::sectionLevel |
Definition at line 63 of file Debug.h.
Referenced by Debug::SectionLevel().
◆ upper
|
private |
Definition at line 69 of file Debug.h.
Referenced by Debug::Finish().
The documentation for this class was generated from the following files:
- src/Debug.h
- src/debug.cc
- src/tests/stub_debug.cc