1
0
mirror of https://github.com/bitwarden/server.git synced 2025-03-02 04:11:04 +01:00
bitwarden-server/src/Admin/Program.cs

22 lines
552 B
C#
Raw Normal View History

2019-07-23 22:38:49 +02:00
using Bit.Core.Utilities;
using Microsoft.AspNetCore;
2018-03-21 17:57:43 +01:00
using Microsoft.AspNetCore.Hosting;
2019-07-23 22:38:49 +02:00
using Serilog.Events;
2018-03-21 17:57:43 +01:00
namespace Bit.Admin
{
public class Program
{
public static void Main(string[] args)
{
WebHost
.CreateDefaultBuilder(args)
.UseStartup<Startup>()
2019-07-23 22:38:49 +02:00
.ConfigureLogging((hostingContext, logging) =>
logging.AddSerilog(hostingContext, e => e.Level >= LogEventLevel.Error))
2018-03-21 17:57:43 +01:00
.Build()
.Run();
}
}
}