Developer's Guide
Guide
Modules
Index
Files
v1.1.0.13094
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
p6log.h
Go to the documentation of this file.
1
10
#ifndef P6LOG_H__
11
#define P6LOG_H__ 1
12
13
#include "
p6err.h
"
14
15
namespace
P6R {
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
#define P6MAX_PRODUCER_NAME 32
23
#define P6MAX_PRODUCER_FMTSTR 2048
24
#define P6MAX_LOG_LEVEL_LEN 32
25
32
interface
p6ILogProducerInit : p6ICom
33
{
51
P6COMMETHOD
initialize(
const
P6R::P6WCHAR
*pwszName,
const
P6R::P6WCHAR
*pwszLogmsgSection) = 0;
52
};
53
54
#define IF_p6ILogProducerInit {0x12E27407,0xB44F,0x4061,{0xBA,0xDA,0x75,0xFC,0x14,0xC5,0x51,0x30}}
55
81
interface
p6ILogProducer : p6ICom
82
{
83
105
P6COMMETHOD
log(
const
P6R::P6WCHAR
*pszStrTableID,
const
P6R::P6CHAR
*pszFile,
P6R::P6UINT32
nLine,
P6R::P6ARG
*pArgs,
P6R::P6UINT32
cArgs) = 0;
106
115
P6COMMETHOD
commit() = 0;
116
130
P6COMMETHOD
setVerbosity(
P6R::P6INT32
nVerbosity,
P6R::P6INT32
*pnOldVerbosity) = 0;
131
};
132
133
#define IF_p6ILogProducer {0x3BC4330E,0x27CE,0x4360,{0xA0,0x4F,0x99,0xB2,0xB7,0x03,0xC2,0xA3}}
134
#define COMP_p6LogProducer {0x22BBB209,0x90EC,0x4330,{0x8B,0xC5,0x05,0x0A,0x41,0x8B,0x12,0xD3}}
135
137
#ifdef __cplusplus
138
}
139
#endif
140
141
}
// namespace
142
143
#endif
144
P6R::P6UINT32
unsigned int P6UINT32
Definition:
p6types.h:40
p6err.h
Standard error codes.
P6R::P6WCHAR
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition:
p6types.h:76
P6R::P6INT32
int P6INT32
Definition:
p6types.h:41
P6COMMETHOD
#define P6COMMETHOD
Definition:
p6types.h:872
P6R::P6ARG
Argument definition.
Definition:
p6types.h:504
P6R::P6CHAR
char P6CHAR
Narrow character type.
Definition:
p6types.h:71
WINNT6.1_x86_OPT_64bit_vs2008.OBJ
src
p6log.h
© 2004 - 2014 P6R Inc. - All Rights Reserved.