Merge pull request #27109 from backstage/rugvip/link

cli: link to logger service docs in backend plugin template
This commit is contained in:
Patrik Oldsberg
2024-10-14 16:26:40 +02:00
committed by GitHub
@@ -77,7 +77,9 @@ export async function createTodoListService({
storedTodos.push(newTodo);
// TEMPLATE NOTE:
// The second argument of the logger methods can be used to pass structured metadata
// The second argument of the logger methods can be used to pass
// structured metadata. You can read more about the logger service here:
// https://backstage.io/docs/backend-system/core-services/logger
logger.info('Created new todo item', { id, title, createdBy });
return newTodo;