mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
14 lines
307 B
C#
14 lines
307 B
C#
using System;
|
|
namespace Nibriboard
|
|
{
|
|
public static class Log
|
|
{
|
|
|
|
public static int WriteLine(string text, params object[] args)
|
|
{
|
|
string outputText = $"[{Env.SecondsSinceStart.ToString("N3")}] " + string.Format(text, args);
|
|
Console.WriteLine(outputText);
|
|
return outputText.Length;
|
|
}
|
|
}
|
|
}
|