Package edu.wpi.first.networktables
Class LogMessage
java.lang.Object
edu.wpi.first.networktables.LogMessage
public final class LogMessage extends Object
NetworkTables log message.
-
Field Summary
Fields Modifier and Type Field Description String
filename
The filename of the source file that generated the message.static int
kCritical
Critical logging level.static int
kDebug
Debug log level.static int
kDebug1
Debug log level 1.static int
kDebug2
Debug log level 2.static int
kDebug3
Debug log level 3.static int
kDebug4
Debug log level 4.static int
kError
Error logging level.static int
kInfo
Info log level.static int
kWarning
Warning log level.int
level
Log level of the message.int
line
The line number in the source file that generated the message.String
message
The message. -
Constructor Summary
Constructors Constructor Description LogMessage(int level, String filename, int line, String message)
Constructor. -
Method Summary
-
Field Details
-
kCritical
Critical logging level.- See Also:
- Constant Field Values
-
kError
Error logging level.- See Also:
- Constant Field Values
-
kWarning
Warning log level.- See Also:
- Constant Field Values
-
kInfo
Info log level.- See Also:
- Constant Field Values
-
kDebug
Debug log level.- See Also:
- Constant Field Values
-
kDebug1
Debug log level 1.- See Also:
- Constant Field Values
-
kDebug2
Debug log level 2.- See Also:
- Constant Field Values
-
kDebug3
Debug log level 3.- See Also:
- Constant Field Values
-
kDebug4
Debug log level 4.- See Also:
- Constant Field Values
-
level
Log level of the message. -
filename
The filename of the source file that generated the message. -
line
The line number in the source file that generated the message. -
message
The message.
-
-
Constructor Details
-
LogMessage
Constructor. This should generally only be used internally to NetworkTables.- Parameters:
level
- Log levelfilename
- Filenameline
- Line numbermessage
- Message
-