コード例 #1
0
 public static void Init()
 {
     var appender = new ProxyLogger();
     appender.Layout = new PatternLayout("%timestamp %-5level %message%newline");
     // appender.AddFilter(new log4net.Filter.LoggerMatchFilter() { LoggerToMatch = "OpenMetaverse" });
     BasicConfigurator.Configure(appender);
 }
コード例 #2
0
        public static void Init()
        {
            var appender = new ProxyLogger();

            appender.Layout = new PatternLayout("%timestamp %-5level %message%newline");
            // appender.AddFilter(new log4net.Filter.LoggerMatchFilter() { LoggerToMatch = "OpenMetaverse" });
            BasicConfigurator.Configure(appender);
        }