29 using System.Collections.Generic;
31 using log4net.Appender;
34 namespace OpenSim.Tests.Common
36 public static class TestLogging
38 public static void LogToConsole()
40 ConsoleAppender consoleAppender =
new ConsoleAppender();
41 consoleAppender.Layout =
42 new PatternLayout(
"%date [%thread] %-5level %logger [%property{NDC}] - %message%newline");
43 log4net.Config.BasicConfigurator.Configure(consoleAppender);