refactor(demos): update machining demos and remove legacy demo message handling

Made-with: Cursor
This commit is contained in:
2026-04-08 16:33:17 +08:00
parent 96eb6ad050
commit e5ea1961a5
5 changed files with 8 additions and 61 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ namespace Sample
static int Main(string[] args)
{
Console.WriteLine("HiAPI starting.");
LocalApp.AppBegin();
using var loggerFactory = Microsoft.Extensions.Logging.LoggerFactory.Create(b => b.AddConsole());
LocalApp.AppBegin(loggerFactory.CreateLogger("Hi.Sample"));
Console.WriteLine("Hello World! HiAPI.");