Skip to content
Snippets Groups Projects
Commit 4d151ccc authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Move logger define into an enum

parent 70b766d1
Branches
Tags
1 merge request!502Logger
...@@ -73,14 +73,16 @@ struct engine; ...@@ -73,14 +73,16 @@ struct engine;
*/ */
/* Some constants. */ /* Some constants. */
#define logger_mask_x 1 enum logger_masks {
#define logger_mask_v 2 logger_mask_x = (1 << 0),
#define logger_mask_a 4 logger_mask_v = (1 << 1),
#define logger_mask_u 8 logger_mask_a = (1 << 2),
#define logger_mask_h 16 logger_mask_u = (1 << 3),
#define logger_mask_rho 32 logger_mask_h = (1 << 4),
#define logger_mask_consts 64 logger_mask_rho = (1 << 5),
#define logger_mask_timestamp 128 logger_mask_consts = (1 << 6),
logger_mask_timestamp = (1 << 7),
};
/* Size of the strings. */ /* Size of the strings. */
#define logger_string_length 200 #define logger_string_length 200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment