tests/NLog.UnitTests/LogFactoryTests.cs
/// <summary>
/// We should be forward compatible so that we can add easily attributes in the future.
/// </summary>
We should be forward compatible so that we can add easily attributes in the future.
We should be forward compatible so that we can add easily attributes in the future .
[Fact]
        public void NewAttrOnNLogLevelShouldNotThrowError()
        {
            LogManager.Configuration = XmlLoggingConfiguration.CreateFromXmlString(@"
            <nlog throwExceptions='true' imAnewAttribute='noError'>
                <targets><target type='file' name='f1' filename='test.log' /></targets>
                <rules>
                    <logger name='*' minlevel='Debug' writeto='f1'></logger>
                </rules>
            </nlog>");
        }
[ Fact ] public void NewAttrOnNLogLevelShouldNotThrowError ( ) { LogManager . Configuration = XmlLoggingConfiguration . CreateFromXmlString ( @"
            <nlog throwExceptions='true' imAnewAttribute='noError'>
                <targets><target type='file' name='f1' filename='test.log' /></targets>
                <rules>
                    <logger name='*' minlevel='Debug' writeto='f1'></logger>
                </rules>
            </nlog>" ) ; }
We should be forward compatible so that we can add easily attributes in the future.
We should be forward compatible so that we can add easily attributes in the future .