source: XMLIO_V2/external/src/POCO/Foundation/pocomsg.h @ 80

Last change on this file since 80 was 80, checked in by ymipsl, 14 years ago

ajout lib externe

  • Property svn:eol-style set to native
File size: 3.5 KB
Line 
1//
2// pocomsg.mc[.h]
3//
4// $Id: //poco/1.3/Foundation/src/pocomsg.h#6 $
5//
6// The Poco message source/header file.
7//
8// NOTE: pocomsg.h is automatically generated from pocomsg.mc.
9//       Never edit pocomsg.h directly!
10//
11// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
12// and Contributors.
13//
14// Permission is hereby granted, free of charge, to any person or organization
15// obtaining a copy of the software and accompanying documentation covered by
16// this license (the "Software") to use, reproduce, display, distribute,
17// execute, and transmit the Software, and to prepare derivative works of the
18// Software, and to permit third-parties to whom the Software is furnished to
19// do so, all subject to the following:
20//
21// The copyright notices in the Software and this entire statement, including
22// the above license grant, this restriction and the following disclaimer,
23// must be included in all copies of the Software, in whole or in part, and
24// all derivative works of the Software, unless such copies or derivative
25// works are solely in the form of machine-executable object code generated by
26// a source language processor.
27//
28// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
31// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
32// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
33// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
34// DEALINGS IN THE SOFTWARE.
35//
36//
37// Categories
38//
39//
40//  Values are 32 bit values laid out as follows:
41//
42//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
43//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
44//  +---+-+-+-----------------------+-------------------------------+
45//  |Sev|C|R|     Facility          |               Code            |
46//  +---+-+-+-----------------------+-------------------------------+
47//
48//  where
49//
50//      Sev - is the severity code
51//
52//          00 - Success
53//          01 - Informational
54//          10 - Warning
55//          11 - Error
56//
57//      C - is the Customer code flag
58//
59//      R - is a reserved bit
60//
61//      Facility - is the facility code
62//
63//      Code - is the facility's status code
64//
65//
66// Define the facility codes
67//
68
69
70//
71// Define the severity codes
72//
73
74
75//
76// MessageId: POCO_CTG_FATAL
77//
78// MessageText:
79//
80// Fatal
81//
82#define POCO_CTG_FATAL                   0x00000001L
83
84//
85// MessageId: POCO_CTG_CRITICAL
86//
87// MessageText:
88//
89// Critical
90//
91#define POCO_CTG_CRITICAL                0x00000002L
92
93//
94// MessageId: POCO_CTG_ERROR
95//
96// MessageText:
97//
98// Error
99//
100#define POCO_CTG_ERROR                   0x00000003L
101
102//
103// MessageId: POCO_CTG_WARNING
104//
105// MessageText:
106//
107// Warning
108//
109#define POCO_CTG_WARNING                 0x00000004L
110
111//
112// MessageId: POCO_CTG_NOTICE
113//
114// MessageText:
115//
116// Notice
117//
118#define POCO_CTG_NOTICE                  0x00000005L
119
120//
121// MessageId: POCO_CTG_INFORMATION
122//
123// MessageText:
124//
125// Information
126//
127#define POCO_CTG_INFORMATION             0x00000006L
128
129//
130// MessageId: POCO_CTG_DEBUG
131//
132// MessageText:
133//
134// Debug
135//
136#define POCO_CTG_DEBUG                   0x00000007L
137
138//
139// MessageId: POCO_CTG_TRACE
140//
141// MessageText:
142//
143// Trace
144//
145#define POCO_CTG_TRACE                   0x00000008L
146
147//
148// Event Identifiers
149//
150//
151// MessageId: POCO_MSG_LOG
152//
153// MessageText:
154//
155// %1
156//
157#define POCO_MSG_LOG                     0x00001000L
158
Note: See TracBrowser for help on using the repository browser.