// src/lib/log-transport.ts
// Copyright (C) 2026 Robert Colbert <rob.colbert@openplatform.us>
// All Rights Reserved

import { DtpComponent } from "./component.ts";
import { DtpLogLevel } from "./log.js";

export abstract class DtpLogTransport {
  abstract writeLog(
    timestamp: Date,
    component: DtpComponent,
    level: DtpLogLevel,
    message: string,
    metadata?: unknown
  ): Promise<void>;
}
