Stream.h
Go to the documentation of this file.
void rewind(const int aSection, const int aLevel)
Optimization: avoids new Context creation for every debugs().
Definition: debug.cc:1285
Definition: Stream.h:47
static void ForgetSaved()
silently erases saved early debugs() messages (if any)
Definition: debug.cc:552
static bool Enabled(const int section, const int level)
whether debugging the given section and the given level produces output
Definition: Stream.h:76
static void LogMessage(const Context &)
broadcasts debugs() message to the logging channels
Definition: debug.cc:777
static void Finish()
logs output buffer created in Start() and closes debugging context
Definition: debug.cc:1352
static std::ostringstream & Start(const int section, const int level)
opens debugging context and returns output buffer
Definition: debug.cc:1328
static std::ostream & Extra(std::ostream &os)
prefixes each grouped debugs() line after the first one in the group
Definition: Stream.h:114
static void ConfigureSyslog(const char *facility)
enables logging to syslog (using the specified facility, when not nil)
Definition: debug.cc:1079
static void EnsureDefaultStderrLevel(int maxDefault)
Definition: debug.cc:691
static void LogWaitingForIdle()
Logs messages of Finish()ed debugs() calls that were queued earlier.
Definition: debug.cc:1313
static void ForceAlert()
configures the active debugging context to write syslog ALERT
Definition: debug.cc:1389
void ResyncDebugLog(FILE *newDestination)
a hack for low-level file descriptor manipulations in ipcCreate()
Definition: debug.cc:513