mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
23 lines
623 B
C#
23 lines
623 B
C#
// Copyright © WireMock.Net
|
|
|
|
using System.Reflection;
|
|
using log4net;
|
|
using log4net.Config;
|
|
using log4net.Repository;
|
|
|
|
namespace WireMock.Net.Console.MimePart;
|
|
|
|
static class Program
|
|
{
|
|
private static readonly ILoggerRepository LogRepository = LogManager.GetRepository(Assembly.GetEntryAssembly());
|
|
private static readonly ILog Log = LogManager.GetLogger(typeof(Program));
|
|
|
|
static async Task Main(params string[] args)
|
|
{
|
|
Log.Info("Starting WireMock.Net.Console.MimePart...");
|
|
|
|
XmlConfigurator.Configure(LogRepository, new FileInfo("log4net.config"));
|
|
|
|
await MainApp.RunAsync();
|
|
}
|
|
} |