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 StopUsingDebugLog () STUB void ResyncDebugLog(FILE *) STUB FILE *DebugStream()
 start logging to stderr (instead of cache.log, if any) More...
 
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,...)
 
const char * SkipBuildPrefix (const char *path)
 

Macro Definition Documentation

#define STUB_API   "debug.cc"

Definition at line 19 of file stub_debug.cc.

Function Documentation

void _db_init ( const char *  ,
const char *   
)

Definition at line 50 of file stub_debug.cc.

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

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

Definition at line 88 of file stub_debug.cc.

References Debug::Level().

Referenced by _db_print().

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

Definition at line 54 of file stub_debug.cc.

Referenced by mainParseOptions().

Ctx ctx_enter ( const char *  )

Definition at line 40 of file stub_debug.cc.

References Ctx_Current_Level, CTX_MAX_LEVEL, DBG_CRITICAL, and debugs.

void ctx_exit ( Ctx  )

Definition at line 46 of file stub_debug.cc.

References assert, and Ctx_Current_Level.

const char* SkipBuildPrefix ( const char *  path)

Definition at line 101 of file stub_debug.cc.

References BuildPrefixInit().

void StopUsingDebugLog ( )

Definition at line 30 of file stub_debug.cc.

References DebugFile::clear().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors