Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does it print spaces between the label and the colon? How is the field width of the label determined?

colon field Label print
0
10 Posted

Why does it print spaces between the label and the colon? How is the field width of the label determined?

0

The colon is indented so it ends up in the same column for all existing debug channels. Hence, the longest label of all existing/created debug channels determines the number of spaces. This value can be less than the maximum allowed label size of course.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.