editor/reference/logs.md
konstantin-paulus c1bc3f0085 Update package.json and README for consistency and clarity
Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
2026-07-20 15:53:30 +02:00

952 B

dapi logs

Prints recent console output from the running app: everything the devtools console shows, including page logs, worker logs, uncaught errors, and Chromium warnings. Oldest first. The app buffers the last 2000 entries in its main process, so the log survives page reloads and project switches; use this instead of relaunching with ELECTRON_ENABLE_LOGGING=1 to see renderer-side errors.

Options

  • -n, --tail <n>: output only the last <n> entries (positive integer)
  • -l, --level <level>: minimum level to include: "debug", "info", "warning", or "error"

Output

Plain text (no JSON), one line per entry:

HH:MM:SS.mmm [level] message  (source:line)

Timestamps are local time. source:line is the logging call site (a URL in dev builds); omitted for synthetic entries such as renderer crashes and preload errors.

Errors

Exits non-zero on an invalid --tail or --level, or if the app is not running.