class AndroidLogcatFormatter extends DefaultLogFormatter {

  @NotNull
  public String formatMessage(@NotNull String format, @NotNull LogCatHeader header, @NotNull String message) {
    // noinspection deprecation
    if (header.getTimestamp() == null) {
      return myLongEpochFormatter.format(format, header, message);
    }

    if (header.getTimestampInstant() == null) {
      return myLongFormatter.format(format, header, message);
    }

    throw new AssertionError(header);
  }

  public  AndroidLogcatFormatter(@NotNull ZoneId timeZone, @NotNull AndroidLogcatPreferences preferences);

}