neo-node icon indicating copy to clipboard operation
neo-node copied to clipboard

featured log

Open Jim8y opened this issue 4 years ago • 10 comments

image image image image

Original:

image

Jim8y avatar Jan 22 '22 02:01 Jim8y

Pull Request Test Coverage Report for Build 2201495427

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 15.08%

Totals Coverage Status
Change from base Build 2186768199: 0.0%
Covered Lines: 107
Relevant Lines: 683

💛 - Coveralls

coveralls avatar Jan 22 '22 02:01 coveralls

I don't like this style. It adds a lot of unnecessary newlines. And I don't like the icons either.

erikzhang avatar May 25 '22 01:05 erikzhang

I don't like this style. It adds a lot of unnecessary newlines. And I don't like the icons either.

Icon can be removed easily. new lines can be avoided. Formatted log makes it easier to address what is happening.

Jim8y avatar May 25 '22 01:05 Jim8y

@erikzhang Now icons are removed, long hash characters are abbreviated

Jim8y avatar May 25 '22 03:05 Jim8y

I'd say I like console log on and console log off. But I still prefer the original whole line in the same color, which looks more intuitive.

erikzhang avatar May 28 '22 01:05 erikzhang

The log message does not write to file now.

1653985972(1)

1653985857(1)

nicolegys avatar May 31 '22 08:05 nicolegys

@nicolegys can you test again, i could not repeat the problem, everything works well on my machine.

Jim8y avatar Jun 01 '22 21:06 Jim8y

@nicolegys can you test again, i could not repeat the problem, everything works well on my machine.

nicolegys avatar Jun 02 '22 06:06 nicolegys

@erikzhang @shargon ready to merge.

Jim8y avatar Jun 18 '22 23:06 Jim8y

@shargon can you please review this pr?

Jim8y avatar Sep 13 '22 01:09 Jim8y

@shargon Could you review again? Tested OK.

superboyiii avatar Feb 02 '23 06:02 superboyiii

@shargon Hey shargon, I am not sure what exactly is your concern with this pr, just answer the following two previously unaddressed questions:

Only one Console.Write?

Updated into one line.

Now that it's all the same color, do we still need to parse the message?

Indeed we still need to parse the message, it is a historic issue as the previous log has messages sticked together while we need to separate them apart.

Jim8y avatar Feb 10 '23 12:02 Jim8y

I like console log on and console log off. But I still prefer the original whole line in the same color, which looks more intuitive.

@erikzhang, your review is blocking. Can we proceed like this or you still want it to be off as standard?

vncoelho avatar Feb 23 '23 16:02 vncoelho

@Liaojinghui, I think there should be some command to remove colors and keep original compatibility. Perhaps some people will prefer it clean as the original one.

vncoelho avatar Feb 23 '23 17:02 vncoelho

@Liaojinghui, I think there should be some command to remove colors and keep original compatibility. Perhaps some people will prefer it clean as the original one.

It is already in the black/white mode for the most log, only errors will show in red and warning in yellow, the rest remains black/white

image

Jim8y avatar Feb 23 '23 20:02 Jim8y

Let me try again. Last time I saw it differently.

vncoelho avatar Feb 23 '23 21:02 vncoelho

Tested again with long lines and works fine. Colors are just for warning and error and it is almost the same as default. Easier for futures control and modifications as well.

vncoelho avatar Feb 27 '23 12:02 vncoelho