1
2
3
4
5
6
7
8
9
10
11
12
| using System.Windows;
|
| namespace DeviceService;
|
| /// <summary>
| /// Interaction logic for App.xaml
| /// </summary>
| public partial class App : Application
| {
| // log4net 由 AssemblyInfo.cs 中的 [assembly: XmlConfigurator(ConfigFile = "Config/log4net.config")]
| // 依据配置文件完成初始化(Console / RollingFile / Memory 三个 Appender 均在配置文件中定义)。
| }
|
|