Skip to content

Log to GitHub annotations instead of stdout #27

Description

@carlcsaposs-canonical

Annotations example:
annotations

logger.debug, logger.warning, and logger.error/logger.exception should create annotations using workflow commands

Workflow commands docs:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#using-workflow-commands-to-access-toolkit-functions
https://github.com/actions/toolkit/blob/main/docs/commands.md

Also log output can be grouped to improve readability: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions