mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2024-11-25 16:18:56 +08:00
Logs also go to console
This commit is contained in:
parent
621b044748
commit
e359824c4d
|
@ -113,6 +113,7 @@ namespace Strawberry
|
|||
static public void Log()
|
||||
{
|
||||
Debug.WriteLine("***");
|
||||
System.Console.WriteLine("***");
|
||||
}
|
||||
|
||||
[Inline]
|
||||
|
@ -120,7 +121,9 @@ namespace Strawberry
|
|||
{
|
||||
String string = scope String();
|
||||
v.ToString(string);
|
||||
|
||||
Debug.WriteLine(string);
|
||||
System.Console.WriteLine(string);
|
||||
}
|
||||
|
||||
[Inline]
|
||||
|
@ -128,21 +131,27 @@ namespace Strawberry
|
|||
{
|
||||
String string = scope String();
|
||||
del(string);
|
||||
|
||||
Debug.WriteLine(string);
|
||||
System.Console.WriteLine(string);
|
||||
}
|
||||
|
||||
[Inline]
|
||||
static public void Log(StringView str, params Object[] args)
|
||||
{
|
||||
let string = StringArgs(scope String(str), params args);
|
||||
|
||||
Debug.WriteLine(string);
|
||||
System.Console.WriteLine(string);
|
||||
}
|
||||
|
||||
[Inline]
|
||||
static public void Log(char8* str, int len)
|
||||
{
|
||||
String s = scope String(str, len);
|
||||
|
||||
Debug.WriteLine(s);
|
||||
System.Console.WriteLine(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user