Skip to content

[MNG-7822] Add support for TRACE logging level (with style "bold,magenta") #1215

Merged
gnodet merged 3 commits intoapache:masterfrom
CrazyHZM:MNG-7822
Aug 25, 2023
Merged

[MNG-7822] Add support for TRACE logging level (with style "bold,magenta") #1215
gnodet merged 3 commits intoapache:masterfrom
CrazyHZM:MNG-7822

Conversation

@CrazyHZM
Copy link
Member

@CrazyHZM CrazyHZM commented Aug 6, 2023

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Make sure there is a JIRA issue filed
    for the change (usually before you start working on it). Trivial changes like typos do not
    require a JIRA issue. Your pull request should address just this issue, without
    pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [MNG-XXX] SUMMARY,
    where you replace MNG-XXX and SUMMARY with the appropriate JIRA issue.
  • Also format the first line of the commit message like [MNG-XXX] SUMMARY.
    Best practice is to use the JIRA issue title in both the pull request title and in the first line of the commit message.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the Core IT successfully.

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

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

I don't see anything in this PR that involves org.apache.maven.shared.utils.logging

Am I missing something or should the PR title be iupdated?

@gnodet gnodet changed the title [MNG-7822] Add TRACE("bold,magenta" ) to Style in org.apache.maven.shared.utils.logging for style.color [MNG-7822] Add support for TRACE logging level (with style "bold,magenta") Aug 23, 2023
@gnodet gnodet requested a review from elharo August 25, 2023 05:40
* @since 4.0.0
*/
enum Style {
TRACE("bold,magenta"),
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be last to avoid changing existing ordinals in an incompatible way.

Copy link
Contributor

@gnodet gnodet Aug 25, 2023

Choose a reason for hiding this comment

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

It's not an existing one, as it only has been introduced in 4.0, so it should be safe here.

@gnodet gnodet merged commit 7d66d19 into apache:master Aug 25, 2023
@jira-importer
Copy link

Resolve #9098

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.

4 participants