3 //=============================================================================
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
9 //=============================================================================
11 #ifndef ACE_LOG_PRIORITY_H
12 #define ACE_LOG_PRIORITY_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "ace/config-lite.h"
18 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
21 * @enum ACE_Log_Priority
23 * @brief This data type indicates the relative priorities of the
24 * logging messages, from lowest to highest priority.
26 * These values are defined using powers of two so that it's
27 * possible to form a mask to turn them on or off dynamically.
28 * We only use 12 bits, however, so users are free to use the
29 * remaining 19 bits to define their own priority masks.
33 // = Note, this first argument *must* start at 1!
35 /// Shutdown the logger (decimal 1).
38 /// Messages indicating function-calling sequence (decimal 2).
41 /// Messages that contain information normally of use only when
42 /// debugging a program (decimal 4).
45 /// Informational messages (decimal 8).
48 /// Conditions that are not error conditions, but that may require
49 /// special handling (decimal 16).
52 /// Warning messages (decimal 32).
55 /// Initialize the logger (decimal 64).
58 /// Error messages (decimal 128).
61 /// Critical conditions, such as hard device errors (decimal 256).
64 /// A condition that should be corrected immediately, such as a
65 /// corrupted system database (decimal 512).
68 /// A panic condition. This is normally broadcast to all users
72 /// The maximum logging priority.
73 LM_MAX
= LM_EMERGENCY
,
75 /// Do not use!! This enum value ensures that the underlying
76 /// integral type for this enum is at least 32 bits.
77 LM_ENSURE_32_BITS
= 0x7FFFFFFF
80 ACE_END_VERSIONED_NAMESPACE_DECL
82 #include /**/ "ace/post.h"
83 #endif /* ACE_LOG_PRIORITY_H */