SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
LogConfig.def File Reference

Configuration file for the Log Module. More...

#include "ECUGlobalConfig.h"

Go to the source code of this file.

Macros

#define CONF_LOGGING_ENABLE_TIMESTAMP
 If this is defined, calls to log will include a millis timestamp.
 
#define CONF_LOGGING_MAX_LEVEL   5
 This define sets the global logging level, any level not included is not printed 0 No Logging - 1 Errors - 2 Warnings - 3 Normal - 4 Info - 5 Debug.
 
#define CONF_LOGGING_MAPPED_MODE   0
 Used to determine how to interpret function calls.
 

Detailed Description

Configuration file for the Log Module.

Author
IR
Version
0.1
Date
2020-11-11

The only two options that should only really be modified are CONF_LOGGING_ENABLE_TIMESTAMP and CONF_LOGGING_MAX_LEVEL.

Commenting out CONF_LOGGING_ENABLE_TIMESTAMP will disable time stamp printing when in ASCII mode.

Changing the value of CONF_LOGGING_MAX_LEVEL changes which log levels are actually printed.

Definition in file LogConfig.def.

Macro Definition Documentation

◆ CONF_LOGGING_ENABLE_TIMESTAMP

#define CONF_LOGGING_ENABLE_TIMESTAMP

If this is defined, calls to log will include a millis timestamp.

Note
Timestamp will be disabled if the Pre_Build.py script is run

Definition at line 31 of file LogConfig.def.

◆ CONF_LOGGING_MAPPED_MODE

#define CONF_LOGGING_MAPPED_MODE   0

Used to determine how to interpret function calls.

Definition at line 43 of file LogConfig.def.

◆ CONF_LOGGING_MAX_LEVEL

#define CONF_LOGGING_MAX_LEVEL   5

This define sets the global logging level, any level not included is not printed 0 No Logging - 1 Errors - 2 Warnings - 3 Normal - 4 Info - 5 Debug.

Definition at line 37 of file LogConfig.def.