1 /** \file debug_types.h
2 * Define the various logging classes and priorities
6 * Define the possible classes/categories of logging messages
11 SG_TERRAIN = 0x00000001,
12 SG_ASTRO = 0x00000002,
13 SG_FLIGHT = 0x00000004,
14 SG_INPUT = 0x00000008,
17 SG_COCKPIT = 0x00000040,
18 SG_GENERAL = 0x00000080,
20 SG_EVENT = 0x00000200,
21 SG_AIRCRAFT = 0x00000400,
22 SG_AUTOPILOT = 0x00000800,
24 SG_CLIPPER = 0x00002000,
25 SG_NETWORK = 0x00004000,
27 SG_NASAL = 0x00010000,
28 SG_INSTR = 0x00020000,
29 SG_SYSTEMS = 0x00040000,
31 SG_ENVIRONMENT = 0x00100000,
32 SG_SOUND = 0x00200000,
33 SG_NAVAID = 0x00400000,
35 SG_TERRASYNC = 0x01000000,
36 SG_PARTICLES = 0x02000000,
37 SG_UNDEFD = 0x04000000, // For range checking
44 * Define the possible logging priorities (and their order).
47 SG_BULK = 1, // For frequent messages
48 SG_DEBUG, // Less frequent debug type messages
49 SG_INFO, // Informatory messages
50 SG_WARN, // Possible impending problem
51 SG_ALERT, // Very possible impending problem
52 SG_POPUP // Severe enough to alert using a pop-up window
53 // SG_EXIT, // Problem (no core)
54 // SG_ABORT // Abandon ship (core)