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;
}, {
[x: string]: any;
}, "v2">;
Returns:
import("@backstage/plugin-scaffolder-node").TemplateAction<{ message?: string | undefined; listWorkspace?: boolean | "with-contents" | "with-filenames" | undefined; }, { [x: string]: any; }, "v2">
Remarks
This task is useful for local development and testing of both the scaffolder and scaffolder templates.