cli: link to logger service docs in backend plugin template

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-10-14 16:11:52 +02:00
parent 337e7cb192
commit 18c5040457
@@ -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;