Exemplo n.º 1
0
        public TestConfiguration(IMessageSink messageSink) : base(messageSink)
        {
            ILogger logger = new LoggerConfiguration()
                             .MinimumLevel.Verbose()
                             .CreateLogger();

            ILoggerFactory loggerFactory = new LoggerFactory().AddSerilog(logger);

            JitexLogger.SetLogger(loggerFactory);

            JitexManager.AddMethodResolver(MethodResolver);
            JitexManager.AddInterceptor(InterceptorCall);
        }