public static void detatch() { _instance.Dispose(); _instance = null; }
public static void attach(ILogListener listener) { Debug.Assert(null == _instance); _instance = new ConsoleRedirector(listener); }