Log.Err
static void Err(string text)
Writes a formatted line to the log using a LogLevel.Error severity level!
| string text | Formatted text with color tags! See the Log class docs for guidance on color tags. |
Examples
if (Time.Stepf > 0.017f)
Log.Err($"Oh no! Frame time (<~red>{Time.Stepf}<~clr>) has exceeded 17ms! There's no way we'll hit even 60 frames per second!");
Found an issue with these docs, or have some additional questions? Create an Issue on Github!