mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpiutil, wpilib] Add FileLogger and log console output (#6977)
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user