Skip to content

Commit 068b1d7

Browse files
committed
deprecate logging support
1 parent ad67d3a commit 068b1d7

8 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/main/java/frc/robot/lib/logging/DataLog.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
/**
1515
* Handles data logging code
16+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
1617
*/
18+
@Deprecated
1719
final class DataLog {
1820

1921
private static Object[] dataExportBuffer = null;

src/main/java/frc/robot/lib/logging/EventLog.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
/**
1717
* Handles event logging code
18+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
1819
*/
20+
@Deprecated
1921
final class EventLog {
2022

2123
private static Logger logger;

src/main/java/frc/robot/lib/logging/GlobalLogInfo.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88
/**
99
* Stores global information about the state of the logging code
10+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
1011
*/
12+
@Deprecated
1113
public final class GlobalLogInfo {
1214

1315
private static boolean isInit, areEventsDisabled, isDataDisabled;

src/main/java/frc/robot/lib/logging/Log.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
/**
1414
* Provides an interface through which to access the logging code
15+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
1516
*/
17+
@Deprecated
1618
public final class Log {
1719

1820
private static int step = 0, interval = 1;

src/main/java/frc/robot/lib/logging/LogFiles.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
/**
2020
* Creates the required log files and initializes logging code
21+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
2122
*/
23+
@Deprecated
2224
final class LogFiles {
2325

2426
private static int logId;

src/main/java/frc/robot/lib/logging/LogUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
/**
66
* Various utility methods utilized by the logging code
7+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
78
*/
9+
@Deprecated
810
final class LogUtils {
911

1012
/**

src/main/java/frc/robot/lib/logging/TimeLog.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
/**
88
* Keeps track of the time spent on different sections of the logging code
9+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
910
*/
11+
@Deprecated
1012
public final class TimeLog {
1113

1214
private static long eventStart, dataFetchStart, dataLogStart;

src/main/java/frc/robot/lib/logging/VarType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
/**
44
* Represents the type of a variable in the logging code
5+
* @deprecated Instead use <a href="https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html">WPILib's Logging API</a>
56
*/
7+
@Deprecated
68
public enum VarType {
79
BOOLEAN, INTEGER, DOUBLE, STRING;
810
}

0 commit comments

Comments
 (0)