mirror of
https://github.com/bitwarden/server
synced 2025-12-22 11:13:27 +00:00
22 lines
558 B
C#
22 lines
558 B
C#
using Bit.Core.Utilities;
|
|
using Serilog.Events;
|
|
|
|
namespace Bit.EventsProcessor;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
Host
|
|
.CreateDefaultBuilder(args)
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
{
|
|
webBuilder.UseStartup<Startup>();
|
|
webBuilder.ConfigureLogging((hostingContext, logging) =>
|
|
logging.AddSerilog(hostingContext, e => e.Level >= LogEventLevel.Warning));
|
|
})
|
|
.Build()
|
|
.Run();
|
|
}
|
|
}
|