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

void _db_init ( const char *  ,
const char *   

Definition at line 51 of file

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

void _db_print ( const char *  format,

Definition at line 66 of file

References _db_print_stderr(), and BUFSIZ.

static void _db_print_stderr ( const char *  format,
va_list  args 

Definition at line 89 of file

References Debug::Level().

Referenced by _db_print().

void _db_rotate_log ( void  )
void _db_set_syslog ( const char *  )

Definition at line 55 of file

Referenced by mainHandleCommandLineOption().

Ctx ctx_enter ( const char *  )

Definition at line 41 of file

References Ctx_Current_Level, CTX_MAX_LEVEL, DBG_CRITICAL, and debugs.

void ctx_exit ( Ctx  )

Definition at line 47 of file

References assert, and Ctx_Current_Level.

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 Debug::ForceAlert().






Web Site Translations