1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-27 20:18:01 +02:00

Initial checkin

This commit is contained in:
Brian Fiete 2019-08-23 11:56:54 -07:00
parent c74712dad9
commit 078564ac9e
3242 changed files with 1616395 additions and 0 deletions

27
IDE/src/util/BfLog.bf Normal file
View file

@ -0,0 +1,27 @@
using System;
namespace IDE.util
{
class BfLog
{
[StdCall, CLink]
static extern void BfLog_Log(char8* str);
[StdCall, CLink]
static extern void BfLog_LogDbg(char8* str);
public static void Log(StringView str, params Object[] strParams)
{
var fStr = scope String();
fStr.AppendF(str, params strParams);
BfLog_Log(fStr);
}
public static void LogDbg(StringView str, params Object[] strParams)
{
var fStr = scope String();
fStr.AppendF(str, params strParams);
BfLog_LogDbg(fStr);
}
}
}