summaryrefslogtreecommitdiff
path: root/tests/log/testmsg.mc
blob: 8843fadb6125b5561d23d4a8693e78cd2c588854 (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
;// Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>

;// This program is free software: you can redistribute it and/or modify
;// it under the terms of the GNU General Public License as published by
;// the Free Software Foundation, either version 3 of the License, or
;// (at your option) any later version.

;// This program is distributed in the hope that it will be useful,
;// but WITHOUT ANY WARRANTY; without even the implied warranty of
;// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;// GNU General Public License for more details.

;// You should have received a copy of the GNU General Public License
;// along with this program.  If not, see <http://www.gnu.org/licenses/>.
;// 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
Logger
.

MessageId = 0x2
SymbolicName = WOLF_CATEGORY_2
Language = English
Daemon
.

MessageId = 0x3
SymbolicName = WOLF_CATEGORY_3
Language = English
Service
.

MessageId = 0x4
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 = 4001
Severity = Error
Facility = Application
SymbolicName = WOLF_CATEGORY_TEST_LOG_MSG1
Language = English
This is error %1
.

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

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

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

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

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

MessageId = 4007
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG7
Language = English
A system error occured during %1 phase: %2 (%3)
.

MessageId = 4008
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG8
Language = English
A Windows error occured during %1 phase: %2 (%3)
.

MessageId = 4009
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TEST_LOG_MSG9
Language = English
Error %1, see more on http://wolfbones.andreasbaumann.cc
.