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

Go to the source code of this file.

Macros

#define STUB_API   "debug.cc"
 

Functions

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)
 
static void _db_print (const char *format,...)
 
std::ostream & ForceAlert (std::ostream &s)
 

Macro Definition Documentation

◆ STUB_API

#define STUB_API   "debug.cc"

Definition at line 19 of file stub_debug.cc.

Function Documentation

◆ _db_init()

void _db_init ( const char *  ,
const char *   
)

◆ _db_print()

static void _db_print ( const char *  format,
  ... 
)
static

Definition at line 56 of file stub_debug.cc.

References _db_print_stderr(), and BUFSIZ.

◆ _db_print_stderr()

static void _db_print_stderr ( const char *  format,
va_list  args 
)
static

Definition at line 79 of file stub_debug.cc.

References Debug::Level().

Referenced by _db_print().

◆ _db_rotate_log()

void _db_rotate_log ( void  )

◆ _db_set_syslog()

void _db_set_syslog ( const char *  )

Definition at line 45 of file stub_debug.cc.

References Here.

◆ 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 121 of file stub_debug.cc.

References Debug::ForceAlert(), and s.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors