public void ItStillWorksIfTheClrUsedTheNullConstructor()
        {
            var traceListener = new SerilogTraceListener();

            traceListener.Write("Test");
            Assert.NotNull(_loggedEvent);
        }
        public void SetUp()
        {
            var delegatingSink = new DelegatingSink(evt => { _loggedEvent = evt; });
            var logger         = new LoggerConfiguration().MinimumLevel.Verbose().WriteTo.Sink(delegatingSink).CreateLogger();

            Log.Logger = logger;    //for the NULL-constructor "ItStillWorksIfTheClrUsedTheNullConstructor" test below

            _loggedEvent   = null;
            _traceListener = new SerilogTraceListener(logger);
        }