Shorten wpiformat config (#8427)

This commit is contained in:
Tyler Veness
2025-11-27 17:30:06 -08:00
committed by GitHub
parent a802855e0c
commit b482fa02df
8 changed files with 30 additions and 88 deletions

View File

@@ -29,9 +29,9 @@ namespace wpi {
* connected and provides a match number, the log file is renamed to
* "WPILIB_yyyyMMdd_HHmmss_{event}_{match}.wpilog".
*
* On startup, all existing WPILIB_TBD log files are deleted. If there is less than
* 50 MB of free space on the target storage, WPILIB_ log files are deleted (oldest
* to newest) until there is 50 MB free OR there are 10 files remaining.
* On startup, all existing WPILIB_TBD log files are deleted. If there is less
* than 50 MB of free space on the target storage, WPILIB_ log files are deleted
* (oldest to newest) until there is 50 MB free OR there are 10 files remaining.
*
* By default, all NetworkTables value changes are stored to the data log.
*/
@@ -118,7 +118,8 @@ struct WPI_DataLog;
* @param period time between automatic flushes to disk, in seconds;
* this is a time/storage tradeoff
*/
void DLM_Start(const struct WPI_String* dir, const struct WPI_String* filename, double period);
void DLM_Start(const struct WPI_String* dir, const struct WPI_String* filename,
double period);
/**
* Stop data log manager.
@@ -157,11 +158,10 @@ void DLM_GetLogDir(struct WPI_String* value);
*/
void DLM_LogNetworkTables(int enabled);
/**
* Enable or disable logging of the console output. Defaults to enabled.
* @param enabled true to enable, false to disable
*/
/**
* Enable or disable logging of the console output. Defaults to enabled.
* @param enabled true to enable, false to disable
*/
void DLM_LogConsoleOutput(int enabled);
/**