Colors and Special Text Effects in Go Logs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
=Overview=
=Overview=


Start red font: <code>\u001B[31m</code>.
Text effects:


End red font: <code>\u001B[0m</code>.
* Red: <code>\u001B[31m</code>
* Blue: <code>\u001B[34m</code>
* Bold: <code>\u001B[1m</code>
 
End text effect: <code>\u001B[0m</code>.

Revision as of 21:07, 5 January 2024

External

Internal

Overview

Text effects:

  • Red: \u001B[31m
  • Blue: \u001B[34m
  • Bold: \u001B[1m

End text effect: \u001B[0m.