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
Logging levels.static int
kDebug
static int
kDebug1
static int
kDebug2
static int
kDebug3
static int
kDebug4
static int
kError
static int
kInfo
static int
kWarning
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
Logging levels.- See Also:
- Constant Field Values
-
kError
- See Also:
- Constant Field Values
-
kWarning
- See Also:
- Constant Field Values
-
kInfo
- See Also:
- Constant Field Values
-
kDebug
- See Also:
- Constant Field Values
-
kDebug1
- See Also:
- Constant Field Values
-
kDebug2
- See Also:
- Constant Field Values
-
kDebug3
- See Also:
- Constant Field Values
-
kDebug4
- 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
-