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

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 2: Line 2:
* https://www.baeldung.com/java-log-console-in-color
* https://www.baeldung.com/java-log-console-in-color
* https://github.com/bit101/go-ansi
* https://github.com/bit101/go-ansi
* https://codehs.com/tutorial/andy/ansi-colors


=Internal=
=Internal=

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.