1/*
2	File:		LogMessage.h
3
4	Contains:	xxx put contents here xxx
5
6	Version:	xxx put version here xxx
7
8	Copyright:	� 2001-2006 by Apple Computer, Inc., all rights reserved.
9
10	File Ownership:
11
12		DRI:				xxx put dri here xxx
13
14		Other Contact:		xxx put other contact here xxx
15
16		Technology:			xxx put technology here xxx
17
18	Writers:
19
20		(bms)	Brad Suinn
21
22	Change History is in CVS:
23*/
24
25#ifndef __LOGMESSAGE__
26#define __LOGMESSAGE__
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31#include "webdavd.h"
32
33extern void logDebugCFString(const char *msg, CFStringRef str);
34extern void logDebugCFURL(const char *msg, CFURLRef url);
35
36#define LOGMESSAGEON 1
37
38extern void LogMessage(u_int32_t level, char *format, ...);
39extern u_int32_t gPrintLevel;
40
41enum {
42    kNone		= 	0x1,
43    kError		= 	0x2,
44    kWarning 	= 	0x4,
45    kTrace		= 	0x8,
46    kInfo		=	0x10,
47    kTrace2		=	0x20,
48    kSysLog		=	0x40,
49    kAll		=	-1
50};
51
52#ifdef  __cplusplus
53}
54#endif
55
56#endif /*__LOGMESSAGE__*/
57