build icon indicating copy to clipboard operation
build copied to clipboard

Align custom logger output w/ header

Open kevmoo opened this issue 7 years ago • 6 comments

Instead of:

[INFO] other
[WARNING] LoggerName:
Log message content
[INFO] other

Do

[INFO] other
[WARNING] LoggerName:
          Log message content
[INFO] other

kevmoo avatar Mar 13 '18 16:03 kevmoo

Happy to discuss implementation, edge cases, etc...

kevmoo avatar Mar 13 '18 16:03 kevmoo

I think this is just with [WARNING]+ items – I think

kevmoo avatar Mar 14 '18 18:03 kevmoo

I keep hitting this, @natebosch – it makes me sad 😿

kevmoo avatar Mar 30 '18 16:03 kevmoo

Unfortunately I think we should consider this blocked on https://github.com/dart-lang/build/issues/1167

natebosch avatar Mar 30 '18 16:03 natebosch

Unfortunately I think we should consider this blocked on #1167

Disagree. We care about that use case, but most folks don't use these types of scenarios. We should look into a structured logging model – agreed...

kevmoo avatar Mar 30 '18 17:03 kevmoo

Consider also the extra wrapping that will likely occur in longer logs as a result of this. I don't think its worth the line space personally, but if the community decides otherwise we can do it.

jakemac53 avatar Apr 19 '18 17:04 jakemac53

Closing as obsolete.

davidmorgan avatar Jul 07 '25 11:07 davidmorgan