DebugSetLogParam (Function) |
Top Previous Next |
This function will set the parameters for the log to file service. The configuration is persistent over resets until set again by the function or from the RTCU IDE in the configuration dialog.
The parameter set by DebugSetLogParam can be read by using DebugGetLogParam.
Parameters take effect after a device reset, using the boardReset function.
Input: media : SINT (0/1, default 0) The media where the log files are stored. Please note that this option can only be set on NX32L architecture devices.
dbg_enable : BOOL Enable/Disable logging of debug messages.
dbg_files : INT (1..999) The maximum number of log files with debug messages which is saved.
con_enable : BOOL Enable/Disable logging of network console output.
con_files : INT (1..999) The maximum number of log files with network console output which is saved.
Returns:
Declaration: FUNCTION DebugSetLogParam : INT; dbg_enable : BOOL;
Example: INCLUDE rtcu.inc |