Skip to content

Use GitHub Workflow commands for better logs #112

@dhruvkb

Description

@dhruvkb

Problem

Our logger uses explicit ANSI color coding for log states like success, warning and error but does not use the GitHub notation making the (extremely verbose) logs less navigable and harder to review when debugging.

Description

GitHub Workflows have some special notations for different outputs that lead to different presentation of those outputs in the UI. They are documented in the GitHub docs.

Notable notations include the ones for DEBUG, WARNING and ERROR messages:

::debug::{message}
::warning file={name},line={line},col={col}::{message}
::error file={name},line={line},col={col}::{message}

Configuring the customised logger to output messages in this format can improve the logging system drastically in terms of readability and improve debugging experience.

Implementation

  • I would be interested in implementing this feature.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions