|
Squid Web Cache v8/master
|
meta-information for debugs() or a similar debugging call More...
#include <Stream.h>
Public Member Functions | |
| Context (const int aSectionLevel, const int aLevel) | |
Public Attributes | |
| int | section |
| the debug section of the debugs() call | |
| int | level |
| minimum debugging level required by the debugs() call | |
| int | sectionLevel |
| maximum debugging level allowed during the call | |
Private Member Functions | |
| void | rewind (const int aSection, const int aLevel) |
| Optimization: avoids new Context creation for every debugs(). | |
Private Attributes | |
| Context * | upper |
| previous or parent record in nested debugging calls | |
| std::ostringstream | buf |
| debugs() output sink | |
| bool | forceAlert |
| the current debugs() will be a syslog ALERT | |
| bool | waitingForIdle |
Friends | |
| class | Debug |
| class | DebugMessageHeader |
Definition at line 1277 of file debug.cc.
References buf, and Debug::FormatStream().
Definition at line 1290 of file debug.cc.
References assert, Debug::Current, Debug::FormatStream(), and Debug::Levels.
Referenced by Debug::Start().
|
friend |
|
private |
Definition at line 66 of file Stream.h.
Referenced by Context(), Debug::Finish(), Debug::LogMessage(), and Debug::Start().
|
private |
Definition at line 67 of file Stream.h.
Referenced by Debug::Finish(), and Debug::ForceAlert().
| int Debug::Context::level |
Definition at line 57 of file Stream.h.
Referenced by Debug::Finish(), and Debug::Level().
| int Debug::Context::sectionLevel |
Definition at line 58 of file Stream.h.
Referenced by Debug::SectionLevel().
|
private |
Definition at line 65 of file Stream.h.
Referenced by Debug::Finish(), and Debug::LogWaitingForIdle().
|
private |
whether this debugs() call originated when we were too busy handling other logging needs (e.g., logging another concurrent debugs() call)
Definition at line 71 of file Stream.h.
Referenced by Debug::Finish(), and Debug::Start().