📄 log4net.config
字号:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<log4net debug="false">
<appender name="login" type="log4net.Appender.RollingFileAppender,log4net">
<param name="File" value="log/log.txt" />
<param name="AppendToFile" value="true" />
<param name="StaticLogFileName" value="false" />
<param name="RollingStyle" value="Date" />
<!-- Gets or sets the rolling style ,Date鏄疪ollingMode鏋氫妇鍊糝oll files based only on the date -->
<param name="DatePattern" value="yyyy.MM.dd" />
<!-- Gets or sets the datepattern to be used for generating file names when rolling over on date. -->
<param name="CountDirection" value="1" />
<!-- CountDirection > 0 does the opposite 锛屼粠1寮
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -