Class LogMessage

java.lang.Object
org.wpilib.networktables.LogMessage

public final class LogMessage extends Object
NetworkTables log message.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    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.
    final String
    The filename of the source file that generated the message.
    static final int
    Info 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.
    static final int
    Warning log level.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogMessage(int level, String filename, int line, String message)
    Constructor.
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CRITICAL

      public static final int CRITICAL
      Critical logging level.
      See Also:
    • ERROR

      public static final int ERROR
      Error logging level.
      See Also:
    • WARNING

      public static final int WARNING
      Warning log level.
      See Also:
    • INFO

      public static final int INFO
      Info log level.
      See Also:
    • DEBUG

      public static final int DEBUG
      Debug log level.
      See Also:
    • DEBUG_1

      public static final int DEBUG_1
      Debug log level 1.
      See Also:
    • DEBUG_2

      public static final int DEBUG_2
      Debug log level 2.
      See Also:
    • DEBUG_3

      public static final int DEBUG_3
      Debug log level 3.
      See Also:
    • DEBUG_4

      public static final int DEBUG_4
      Debug log level 4.
      See Also:
    • level

      public final int level
      Log level of the message.
    • filename

      public final String filename
      The filename of the source file that generated the message.
    • line

      public final int line
      The line number in the source file that generated the message.
    • message

      public final String message
      The message.
  • Constructor Details

    • LogMessage

      public LogMessage(int level, String filename, int line, String message)
      Constructor. This should generally only be used internally to NetworkTables.
      Parameters:
      level - Log level
      filename - Filename
      line - Line number
      message - Message