diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-19 10:16:27 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-19 10:16:27 +0100 |
commit | 59218203a248a958ad5cb281507dbd7ad3255334 (patch) | |
tree | 1d609468dc07f5d36d58b107bb9fb5e8724cbd35 /tests/log/testmsg.mc | |
parent | 00b4325ff33c93d3a1c0039a07184e352df34354 (diff) | |
download | wolfbones-59218203a248a958ad5cb281507dbd7ad3255334.tar.gz wolfbones-59218203a248a958ad5cb281507dbd7ad3255334.tar.bz2 |
more cleanup, making a local testmsg.dll for testing the logger on windows
Diffstat (limited to 'tests/log/testmsg.mc')
-rw-r--r-- | tests/log/testmsg.mc | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/log/testmsg.mc b/tests/log/testmsg.mc new file mode 100644 index 0000000..3aad1ab --- /dev/null +++ b/tests/log/testmsg.mc @@ -0,0 +1,64 @@ +;// 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 +. + +;// 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 = 0x100 +Severity = Error +Facility = Application +SymbolicName = WOLF_TEST_NO_PARAMS +Language = English +This is a test message without any parameters +It can be two lines though +. + +MessageId = 0x101 +Severity = Error +Facility = Application +SymbolicName = WOLF_TEST_PARAMS +Language = English +This is a message with parameter %1 and parameter %2 +. |