Skip to main content
Version: Next

createDebugLogAction()

Home > @backstage/plugin-scaffolder-backend > createDebugLogAction

Writes a message into the log or lists all files in the workspace

Signature:

function createDebugLogAction(): import("@backstage/plugin-scaffolder-node").TemplateAction<{
message?: string | undefined;
listWorkspace?: boolean | "with-contents" | "with-filenames" | undefined;
}, import("@backstage/types").JsonObject>;

Returns:

import("@backstage/plugin-scaffolder-node").TemplateAction<{ message?: string | undefined; listWorkspace?: boolean | "with-contents" | "with-filenames" | undefined; }, import("@backstage/types").JsonObject>

Remarks

This task is useful for local development and testing of both the scaffolder and scaffolder templates.