Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
annotate WarFoundry.exe.log4net @ 63:4db2c1086a85
Re #173: Add WinForms UI for showing debugging messages
* Add starts of an implementation by subscribing to event and logging out for now (matches GTK# version in r273)
* Add file logger
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 21 Sep 2009 19:31:24 +0000 |
parents | 0e7c257ca8d6 |
children | fd8654afd331 |
rev | line source |
---|---|
63
4db2c1086a85
Re #173: Add WinForms UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
62
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> |