Files
server/src/EventsProcessor/Program.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
558 B
C#
Raw Normal View History

2020-01-10 08:33:13 -05:00
using Bit.Core.Utilities;
2019-07-23 16:38:49 -04:00
using Serilog.Events;
2017-12-08 15:02:54 -05:00
namespace Bit.EventsProcessor;
2022-08-29 16:06:55 -04:00
public class Program
2017-12-08 15:02:54 -05:00
{
public static void Main(string[] args)
2017-12-08 15:02:54 -05:00
{
2020-01-10 08:33:13 -05:00
Host
.CreateDefaultBuilder(args)
2020-01-10 08:33:13 -05:00
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
webBuilder.ConfigureLogging((hostingContext, logging) =>
logging.AddSerilog(hostingContext, e => e.Level >= LogEventLevel.Warning));
})
.Build()
.Run();
2017-12-08 15:02:54 -05:00
}
}