示例#1
0
    private static void Configure()
    {
        RollingFileAppender.SetLogFileDir(Application.dataPath);

        XmlConfigurator.Configure(new FileInfo($"{Application.dataPath}/Plugins/log4net/log4net.xml"));
    }