Skip to main content

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 | undefined;
}, import("@backstage/types").JsonObject>;

Returns:

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

Remarks

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