/** Tail of the Core diagnostic log (`logs.read`). */
import { call } from "../transport";

export const logs = Object.freeze({
  read: (options?: { maxBytes?: number }) => call<{ text: string; truncated: boolean; size: number; readAt: string }>("module_logs_read", "plugin:logs:read", options ?? {})
});
