StringLoggingExtensions.cs unity
// Update is called once per frame
void Update ()
{
var message = "Hello, World!";
// Print the message in green.
Debug.Log (message.Colored (Colors.green));
// Compose different formatting together.
Debug.Log (message.Bold().Sized(16));
// Works with LogError as well.
Debug.LogError (message.Italics());
}