Class Telemetry

java.lang.Object
com.fussuchalice.bot.Telemetry

public class Telemetry extends Object
The Telemetry class offers functionality to log and display telemetry data for a chatbot.
  • Constructor Details

    • Telemetry

      public Telemetry()
  • Method Details

    • outHeader

      public void outHeader()
      Outputs the header for the telemetry data table.
    • outTableValue

      public void outTableValue(String chatId, String command, String time)
      Outputs a row of telemetry data to the table.
      Parameters:
      chatId - The chat ID associated with the telemetry data.
      command - The command issued in the telemetry data.
      time - The timestamp of the telemetry data.
    • getCurrentTimeFormatted

      public String getCurrentTimeFormatted()
      Retrieves the current time and formats it according to the specified format.
      Returns:
      The current time in the format "dd.HH.mm ss:mm:ss".