fgms 0.11.8
The
FlightGear MultiPlayer Server
project
debug_types.h
Go to the documentation of this file.
1 /** @file debug_types.h
2  * @brief Define the various logging classes and prioritiess
3  */
4 
5 /**
6  * @brief Define the possible classes/categories of logging messages
7  */
8 typedef enum {
9  SG_NONE = 0x00000000,
10  SG_FGMS = 0x00000001,
11  SG_FGTRACKER = 0x00000002,
12  SG_UTIL = 0x00001000, // utility functions
13  SG_CONSOLE = 0x00002000, // log to console
14  SG_SYSTEMS = 0x00040000,
15  SG_UNDEFD = 0x00080000, // For range checking
16 
17  SG_ALL = 0xFFFFFFFF
18 } sgDebugClass;
19 
20 
21 /**
22  * @brief Define the possible logging priorities (and their order).
23  */
24 typedef enum {
25  /** @brief For frequent messages */
27 
28  /** @brief Less frequent debug type messages */
30 
31  /** @brief Informatory messages */
33 
34  /** @brief Possible impending problem */
36 
37  /** @brief Very possible impending problem */
38  SG_ALERT, //
39  // SG_EXIT, // Problem (no core)
40  // SG_ABORT // Abandon ship (core)
42 
44 
For frequent messages.
Definition: debug_types.h:26
sgDebugPriority
Define the possible logging priorities (and their order).
Definition: debug_types.h:24
Very possible impending problem.
Definition: debug_types.h:38
sgDebugClass
Define the possible classes/categories of logging messages.
Definition: debug_types.h:8
Less frequent debug type messages.
Definition: debug_types.h:29
Informatory messages.
Definition: debug_types.h:32
Possible impending problem.
Definition: debug_types.h:35