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.int
logger
The logger that generated the message.String
message
The message. -
Constructor Summary
Constructors Constructor Description LogMessage(NetworkTableInstance inst, int logger, 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
-
logger
The logger that generated the message. -
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
public LogMessage(NetworkTableInstance inst, int logger, int level, String filename, int line, String message)Constructor. This should generally only be used internally to NetworkTables.- Parameters:
inst
- Instancelogger
- Loggerlevel
- Log levelfilename
- Filenameline
- Line numbermessage
- Message
-