Package edu.wpi.first.networktables
Class LogMessage
java.lang.Object
edu.wpi.first.networktables.LogMessage
NetworkTables log message.
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The filename of the source file that generated the message.static final int
Critical logging level.static final int
Debug log level.static final int
Debug log level 1.static final int
Debug log level 2.static final int
Debug log level 3.static final int
Debug log level 4.static final int
Error logging level.static final int
Info log level.static final int
Warning log level.final int
Log level of the message.final int
The line number in the source file that generated the message.final String
The message. -
Constructor Summary
ConstructorDescriptionLogMessage
(int level, String filename, int line, String message) Constructor. -
Method Summary
-
Field Details
-
kCritical
Critical logging level.- See Also:
-
kError
Error logging level.- See Also:
-
kWarning
Warning log level.- See Also:
-
kInfo
Info log level.- See Also:
-
kDebug
Debug log level.- See Also:
-
kDebug1
Debug log level 1.- See Also:
-
kDebug2
Debug log level 2.- See Also:
-
kDebug3
Debug log level 3.- See Also:
-
kDebug4
Debug log level 4.- See Also:
-
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
-