aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorKunnis2009-08-16 03:35:31 -0500
committerTeravus Ovares (Dan Olivares)2009-08-16 14:34:16 -0400
commitdd78c250aed0924d06e28a826c2ad565ca232045 (patch)
tree331487699d7d2fba8d00cd2a8e57b85e8f77e794 /OpenSim/Tests
parent* More improvements to BasicAssetTest.cs (diff)
downloadopensim-SC_OLD-dd78c250aed0924d06e28a826c2ad565ca232045.zip
opensim-SC_OLD-dd78c250aed0924d06e28a826c2ad565ca232045.tar.gz
opensim-SC_OLD-dd78c250aed0924d06e28a826c2ad565ca232045.tar.bz2
opensim-SC_OLD-dd78c250aed0924d06e28a826c2ad565ca232045.tar.xz
* Added Expression based ignores to the PropertyScrambler, which makes a lot of the tests clearer because I'm not constantly resetting properties.
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/TestLogging.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/TestLogging.cs b/OpenSim/Tests/Common/TestLogging.cs
new file mode 100644
index 0000000..d8089c4
--- /dev/null
+++ b/OpenSim/Tests/Common/TestLogging.cs
@@ -0,0 +1,19 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using log4net.Appender;
5using log4net.Layout;
6
7namespace OpenSim.Tests.Common
8{
9 public static class TestLogging
10 {
11 public static void LogToConsole()
12 {
13 ConsoleAppender consoleAppender = new ConsoleAppender();
14 consoleAppender.Layout =
15 new PatternLayout("%date [%thread] %-5level %logger [%property{NDC}] - %message%newline");
16 log4net.Config.BasicConfigurator.Configure(consoleAppender);
17 }
18 }
19}