@NotNull
    private static String clearLine(@Nullable LogMessageType type, @NotNull String line) {
      return type == null ? line : type.clearLine(line);
    }
@NotNull
    private static String clearLine(@Nullable LogMessageType type, @NotNull String line)