[wpiutil, wpilib] Add FileLogger and log console output (#6977)

This commit is contained in:
Gold856
2024-09-13 01:13:06 -04:00
committed by GitHub
parent 32252f7d6a
commit 3bbbf86632
12 changed files with 428 additions and 0 deletions

View File

@@ -89,6 +89,11 @@ class DataLogManager final {
*/
static void LogNetworkTables(bool enabled);
/**
* Enable or disable logging of the console output. Defaults to enabled.
* @param enabled true to enable, false to disable
*/
static void LogConsoleOutput(bool enabled);
/**
* Signal new DS data is available.
*/
@@ -152,6 +157,13 @@ const char* DLM_GetLogDir(void);
*/
void DLM_LogNetworkTables(int enabled);
/**
* Enable or disable logging of the console output. Defaults to enabled.
* @param enabled true to enable, false to disable
*/
void DLM_LogConsoleOutput(int enabled);
/**
* Signal new DS data is available.
*/