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:1287
Definition: Stream.h:47
static void ForgetSaved()
silently erases saved early debugs() messages (if any)
Definition: debug.cc:553
static bool Enabled(const int section, const int level)
whether debugging the given section and the given level produces output
Definition: Stream.h:75
static void LogMessage(const Context &)
broadcasts debugs() message to the logging channels
Definition: debug.cc:778
static void Finish()
logs output buffer created in Start() and closes debugging context
Definition: debug.cc:1363
static void FormatStream(std::ostream &)
configures default formatting for the debugging stream
Definition: debug.cc:1302
static std::ostringstream & Start(const int section, const int level)
opens debugging context and returns output buffer
Definition: debug.cc:1339
static void ConfigureSyslog(const char *facility)
enables logging to syslog (using the specified facility, when not nil)
Definition: debug.cc:1080
static void EnsureDefaultStderrLevel(int maxDefault)
Definition: debug.cc:692
static void LogWaitingForIdle()
Logs messages of Finish()ed debugs() calls that were queued earlier.
Definition: debug.cc:1324
static void ForceAlert()
configures the active debugging context to write syslog ALERT
Definition: debug.cc:1400
void ResyncDebugLog(FILE *newDestination)
a hack for low-level file descriptor manipulations in ipcCreate()
Definition: debug.cc:514