Log.Write
static void Write(LogLevel level, string text, Object[] items)
Writes a formatted line to the log with the specified severity level!
LogLevel level | Severity level of this log message. |
string text | Formatted text with color tags! See the Log class docs for for guidance on color tags. |
Object[] items | Format arguments. |
static void Write(LogLevel level, string text)
Writes a formatted line to the log with the specified severity level!
LogLevel level | Severity level of this log message. |
string text | Formatted text with color tags! See the Log class docs for for guidance on color tags. |
Examples
Log.Write(LogLevel.Info, "<~grn>{0:0.0}s<~clr> have elapsed since StereoKit start.", Time.Total);
Found an issue with these docs, or have some additional questions? Create an Issue on Github!