1
/*-----------------------------------------------------------------------
2
$Id: debug.h 130 2006-09-22 04:39:36Z mikes@u.washington.edu $
3
-----------------------------------------------------------------------*/
5
/* ========================================================================
6
* Copyright 2006-2007 University of Washington
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* ========================================================================
17
#ifndef _WEB_ALPINE_DEBUG_INCLUDED
18
#define _WEB_ALPINE_DEBUG_INCLUDED
23
* support dprint regardless so we leave at least a few
27
#define dprint(x) { output_debug_msg x ; }
32
* Use these to for dprint() debug level arg to force
33
* debug output (typically to syslog())
36
#define SYSDBG_ALERT SYSDBG+1
37
#define SYSDBG_ERR SYSDBG+2
38
#define SYSDBG_INFO SYSDBG+3
39
#define SYSDBG_DEBUG SYSDBG+4
42
/* exported prototypes */
43
void debug_init(void);
46
#endif /* _WEB_ALPINE_DEBUG_INCLUDED */