public void Logger()
        {
            var definition = new FluentPatternLayoutDefinition();

            var child  = definition.Logger();
            var layout = (PatternLayout)((ILayoutDefinition)definition).CreateLayout();

            Assert.That(layout.ConversionPattern, Is.EqualTo("%logger"));
        }
        public void LoggerWithPrecision()
        {
            const int precision  = 5;
            var       definition = new FluentPatternLayoutDefinition();

            var child  = definition.Logger(precision);
            var layout = (PatternLayout)((ILayoutDefinition)definition).CreateLayout();

            Assert.That(layout.ConversionPattern, Is.EqualTo("%logger{" + precision + "}"));
        }