File Reference
#include "squid.h"
#include "Debug.h"
#include "tests/STUB.h"
Include dependency graph for

Go to the source code of this file.


#define STUB_API   ""


Ctx ctx_enter (const char *)
void ctx_exit (Ctx)
void _db_init (const char *, const char *)
void _db_set_syslog (const char *)
void _db_rotate_log (void)
static void _db_print_stderr (const char *format, va_list args)
void _db_print (const char *format,...)
std::ostream & ForceAlert (std::ostream &s)

Macro Definition Documentation


#define STUB_API   ""

Definition at line 19 of file

Function Documentation

◆ _db_init()

void _db_init ( const char *  ,
const char *   

Definition at line 51 of file

References APP_SHORTNAME, debugOpenLog(), Debug::log_syslog, and Debug::parseOptions().

Referenced by operator<<().

◆ _db_print()

void _db_print ( const char *  format,

Definition at line 66 of file

References _db_print_stderr(), and BUFSIZ.

Referenced by _db_print_stderr().

◆ _db_print_stderr()

static void _db_print_stderr ( const char *  format,
va_list  args 

◆ _db_rotate_log()

void _db_rotate_log ( void  )

◆ _db_set_syslog()

void _db_set_syslog ( const char *  )

Definition at line 55 of file

Referenced by debugOpenLog(), mainHandleCommandLineOption(), and operator<<().

◆ ctx_enter()

Ctx ctx_enter ( const char *  )

Definition at line 41 of file

References Ctx_Current_Level, Ctx_Descrs, CTX_MAX_LEVEL, Ctx_Warn_Level, DBG_CRITICAL, and debugs.

◆ ctx_exit()

void ctx_exit ( Ctx  )

Definition at line 47 of file

References assert, Ctx_Current_Level, and Ctx_Valid_Level.

◆ ForceAlert()

std::ostream& ForceAlert ( std::ostream &  s)

Does not change the stream being manipulated. Exists for its side effect: In a debugs() context, forces the message to become a syslog ALERT. Outside of debugs() context, has no effect and should not be used.

Definition at line 130 of file

References DBG_DATA, Debug::ForceAlert(), Raw::print(), and Debug::SectionLevel().

Referenced by Debug::SectionLevel().






Web Site Translations