diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-19 10:09:18 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-19 10:09:18 +0100 |
commit | d9e83a83fdf42321f2fe30475b92e22e52953d6d (patch) | |
tree | 8bbb86e76bca813532d8f6d50df75f500fed179a /src/log | |
parent | 9843f44f58e10fd322c27fd27f2df066b17f7a0b (diff) | |
download | wolfbones-d9e83a83fdf42321f2fe30475b92e22e52953d6d.tar.gz wolfbones-d9e83a83fdf42321f2fe30475b92e22e52953d6d.tar.bz2 |
started to clean up W32 part of logger
Diffstat (limited to 'src/log')
-rw-r--r-- | src/log/wolfmsg.mc | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/log/wolfmsg.mc b/src/log/wolfmsg.mc new file mode 100644 index 0000000..3aad1ab --- /dev/null +++ b/src/log/wolfmsg.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 +. |