Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
annotate WarFoundry.exe.log4net @ 91:e1e3957db129 WarFoundry_v0.1beta5_Winforms WarFoundry_v0.1beta5a_Winforms
Fixes #206:
* Move call to SetUnitEquipmentItemAmount() helper function to make sure equip isn't null and to be in a more sensible place
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 02 Nov 2009 20:41:53 +0000 |
parents | fd8654afd331 |
children | 04ca17389f13 |
rev | line source |
---|---|
68
fd8654afd331
Fixes #183: Get logging working with WinForms
IBBoard <dev@ibboard.co.uk>
parents:
63
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8" ?> <log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> </layout> </appender> <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="logs\\WarFoundry.log" /> <appendToFile value="false" /> <rollingStyle value="Size" /> <maxSizeRollBackups value="-1" /> <maximumFileSize value="100MB" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="ConsoleAppender" /> <appender-ref ref="RollingLogFileAppender" /> </root> </log4net> |