public static IO2Log writeToDebug(this IO2Log log, bool alsoShowInConsole) { log.LogRedirectionTarget = new Logger_DiagnosticsDebug { alsoShowInConsole = alsoShowInConsole }; return(log); }
static DI() { log = PublicDI.log; // _note that when the O2GuiWithDockPanel is create it will overide the PublicDI log with WinFormsUILog() object reflection = PublicDI.reflection; config = PublicDI.config; o2MessageQueue = KO2MessageQueue.getO2KernelQueue(); new O2MessagesHandler(); // set up O2Message hook autoAddLogViewerToGui = true; }
public void setLogRedirection(IO2Log _logRedirectionTarget) { LogRedirectionTarget = _logRedirectionTarget; }
public void setLogRedirection(IO2Log logRedirectionTarget) { LogRedirectionTarget = logRedirectionTarget; }
public KO2Log() { //LogRedirectionTarget = new Logger_Memory(); // default to Log to memory LogRedirectionTarget = new Logger_DiagnosticsDebug(); // log to diagnostics LogHost = ""; }
public static IO2Log writeToDebug(this IO2Log log) { return(log.writeToDebug(false)); }
public Logger_DiagnosticsDebug redirectTo_DiagnosticsDebug() { LogRedirectionTarget = new Logger_DiagnosticsDebug(); return((Logger_DiagnosticsDebug)LogRedirectionTarget); }
public Logger_Memory redirectTo_Memory() { LogRedirectionTarget = new Logger_Memory(); return((Logger_Memory)LogRedirectionTarget); }
public Logger_Memory redirectTo_Memory() { LogRedirectionTarget = new Logger_Memory(); return (Logger_Memory)LogRedirectionTarget; }
public Logger_DiagnosticsDebug redirectTo_DiagnosticsDebug() { LogRedirectionTarget = new Logger_DiagnosticsDebug(); return (Logger_DiagnosticsDebug)LogRedirectionTarget; }