import type { LogFormatAdapter } from "./types";
import { emptyRequestAnalysis, EMPTY_RESPONSE_ANALYSIS } from "./types";

export const unknownLogFormatAdapter: LogFormatAdapter = {
  format: "unknown",

  analyzeRequest(rawBody) {
    return emptyRequestAnalysis(rawBody);
  },

  analyzeResponse() {
    return EMPTY_RESPONSE_ANALYSIS;
  },

  anatomySegments() {
    return null;
  },
};
