Skip to content

BugReportLogBufferConstructorOptions

Constructor parameters for BugReportLogBuffer.

Import:

import type { BugReportLogBufferConstructorOptions } from '@mnaoumov/obsidian-lib/bug-report-diagnostics';

Signature:

export interface BugReportLogBufferConstructorOptions

Properties

PropertyTypeDescription
maxEntries?numberThe most entries kept. Older entries are dropped first.
maxEntryLength?numberThe most characters kept of one entry. A longer entry is cut, and says so.
now?() => DateGets the current time. For tests.