blob: 2a431efd30d454d4ebb5bae0bcfa19606c02ab41 [file] [log] [blame]
using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging;
using System;
using System.Threading.Tasks;
namespace Apache.IoTDB.Samples
{
public static class Program
{
public static async Task Main(string[] args)
{
var sessionPoolTest = new SessionPoolTest("iotdb");
await sessionPoolTest.Test() ;
}
public static void OpenDebugMode(this SessionPool session)
{
session.OpenDebugMode(builder =>
{
builder.AddConsole();
builder.AddNLog();
});
}
}
}