fix SoftNcRunner GM code normalization.
This commit is contained in:
@@ -153,6 +153,7 @@ Shows the basic setup of display engine, MongoDB server, licensing, and other co
|
||||
It demonstrates proper initialization and teardown of key components.</p>
|
||||
<h3 id="source-code">Source Code</h3>
|
||||
<pre><code class="lang-csharp" name="SampleCode">using Hi.HiNcKits;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
|
||||
namespace Sample
|
||||
@@ -172,7 +173,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.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user