Skip to content

Add log levels#22

Merged
axelniklasson merged 3 commits intomainfrom
axel/lin-58763-add-log-levels
Mar 2, 2026
Merged

Add log levels#22
axelniklasson merged 3 commits intomainfrom
axel/lin-58763-add-log-levels

Conversation

@axelniklasson
Copy link
Collaborator

@axelniklasson axelniklasson commented Mar 2, 2026

Adds support for log levels and migrates existing log calls to use these levels. There are three new options added to the CLI as arguments:

Flag Output
--quiet Errors only — ideal for silent CI jobs
(default) Key results (issues found, release created, etc)
--verbose Detailed progress (config, shallow-clone fetches)

Related PR for the GitHub action: linear/linear-release-action#10

@linear-code
Copy link

linear-code bot commented Mar 2, 2026

@axelniklasson axelniklasson force-pushed the axel/lin-58763-add-log-levels branch from 3ad8016 to efe3c30 Compare March 2, 2026 14:35
@axelniklasson axelniklasson marked this pull request as ready for review March 2, 2026 14:47
@axelniklasson axelniklasson requested a review from RomainCscn March 2, 2026 14:47
Copy link
Collaborator

@RomainCscn RomainCscn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if verbose and debug shouldn't be the same? Feels like having 3 log levels might be too much for this? Wdyt?

Copy link
Collaborator Author

I considered that at first, but opted to keep it separate since I think that debug sink and some debug data is borderline internal and there is a case to show quite some more info but still hide the proper debug information (hence the addition of verbose). Not a super strong opinion here, so happy to change if you feel that it is too much.

Copy link
Collaborator

Ok, no strong opinion either, I'm just trying to lean into simplicity when we can.

Copy link
Collaborator Author

Totally, also don't want to make it too complicated. Will merge verboseand debug into one, easier to split it down the line than merge it once we have people using it.

@axelniklasson axelniklasson merged commit e1540df into main Mar 2, 2026
2 checks passed
@axelniklasson axelniklasson deleted the axel/lin-58763-add-log-levels branch March 2, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants