Files
server/src/EventsProcessor/Program.cs

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

21 lines
591 B
C#
Raw Normal View History

2020-01-10 08:33:13 -05:00
using Bit.Core.Utilities;
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, globalSettings) => e.Level >= globalSettings.MinLogLevel.EventsProcessorSettings.Default));
2020-01-10 08:33:13 -05:00
})
.Build()
.Run();
2017-12-08 15:02:54 -05:00
}
}