summaryrefslogtreecommitdiff
path: root/tests/service/testservice.mc
blob: 658aad0d4a8b545db8d4d4a4601c17b6e10f14eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
;// messages file for wolf messages

;// language codes for translated messages
;// (409 ist the windows locale for en-US)
LanguageNames = (
	English		= 0x409	: MSG00409
)

;// Category names come first, the 'CategoryCount' registry entry
;// for the event source must match the number of entries here.
;// Also the numbering must be strictly starting by one and increase
;// by one. Careful: categories MUST be defined here, the message
;// compiler is a little bit flag and context infected. Also make
;// sure they are not longer than 10 characters, the event viewer
;// field is quite small.

MessageId = 0x1
SymbolicName = WOLF_CATEGORY_1
Language = English
Category 1
.

MessageId = 0x2
SymbolicName = WOLF_CATEGORY_2
Language = English
Category 2
.

MessageId = 0x3
SymbolicName = WOLF_CATEGORY_3
Language = English
Test Category
.

;// event log severity levels (severity bits)
SeverityNames = ( 
	Success		= 0x0	: STATUS_SEVERITY_SUCCESS
	Informational	= 0x1	: STATUS_SEVERITY_INFORMATIONAL
	Warning		= 0x2	: STATUS_SEVERITY_WARNING
	Error		= 0x3	: STATUS_SEVERITY_ERROR
)

;// facility names
FacilityNames = (
	System		= 0x0FF
	Application	= 0xFFF
)



;// event messages from here

MessageIdTypedef = DWORD

MessageId = 3001
Severity = Error
Facility = Application
SymbolicName = WOLF_CATEGORY_TEST_LOG_MSG1
Language = English
This is error %1
.

MessageId = 3002
Severity = Warning
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG2
Language = English
Warning, this is just a test
.

MessageId = 3003
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG3
Language = English
Started the logger
.

MessageId = 3004
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG4
Language = English
This will not appear
.

MessageId = 3005
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG5
Language = English
Closed the logger
.

MessageId = 3006
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG6
Language = English
This is error %1 with %2
.