Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
view WarFoundry.exe.log4net @ 44:1486ccd744dc
Fixes #135: Closing army crashes WinForms
* Simple solution: Cache the open windows as an array then close them from the array to avoid iterating over an collection that gets modified!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 09 Sep 2009 19:37:14 +0000 |
parents | 19bdbb80999c |
children | 0e7c257ca8d6 |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" ?> <!-- This section contains the log4net configuration settings --> <log4net> <!-- Define some output appenders --> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> </layout> </appender> <!-- Setup the root category, add the appenders and set the default priority --> <root> <level value="DEBUG" /> <appender-ref ref="ConsoleAppender" /> </root> </log4net>