예제 #1
0
 public static void detatch()
 {
     _instance.Dispose();
     _instance = null;
 }
예제 #2
0
 public static void attach(ILogListener listener)
 {
     Debug.Assert(null == _instance);
     _instance = new ConsoleRedirector(listener);
 }