public GelfLayoutFacts()
        {
            new LoggerFactory().AddAxoomConsole();

            _layout       = new GelfLayout();
            _logEventInfo = new LogEventInfo(LogLevel.Debug, "MyLogger", "MyMessage")
            {
                TimeStamp = DateTime.Now
            };
        }
        public void MappedDiagnosticContextFieldsAreIncludable()
        {
            var gelfLayout = new GelfLayout(true);

            NLog.MappedDiagnosticsContext.Set("_customField", "app specific fields are awesome");
            string output = gelfLayout.Render(_logEventInfo);

            NLog.MappedDiagnosticsContext.Clear();

            var gelfMessage = JsonConvert.DeserializeObject <JObject>(output);

            ((string)gelfMessage["_customField"]).Should().Be("app specific fields are awesome");
        }