public interface MainCmdLogging_ifc extends LogMessage
MainCmd for command line programming 
   or org.vishia.gral.area9.GralArea9MainCmd for the gral GUI.
 MainCmdLoggingStream. That class
   adapts the standard System.out to this interface.
 MainCmdLoggingStream and MsgDispatchSystemOutErr
   one can create messages which can be dispatched to any destinations.   
 | Modifier and Type | Field and Description | 
|---|---|
| static int | anytimeDeprecated. 
 use instead Report.error or Report.errorDisplay | 
| static int | eventOrderDeprecated. 
 use instead Report.info or Report.infoDisplay | 
| static int | exitSuccessfullexit value to indicate not at all problems. | 
| static int | exitUserAbortexit value to indicate a unconditional abort of a process. | 
| static int | exitWithArgumentErrorexit value to indicate a parameter error, that is a programmers error mostly. | 
| static int | exitWithErrorsexit value to indicate a error in the own process, at example due to failed data | 
| static int | exitWithFileProblemsexit value to indicate a file error, typicall write to a read only file, write to a failed directory, file not exists and others. | 
| static int | exitWithNotesexit value to indicate the user should read something and medidate about. | 
| static int | exitWithWarningsexit value to indicate some warnings, but no fatal errors. | 
| static int | fineEventOrderDeprecated. 
 use instead Report.fineInfo or Report.infoDisplay | 
| static int | interestedDeprecated. 
 use instead Report.warning or Report.warningDisplay | 
| static int | versionVersion and history:
 
 2012-11-10 Hartmut chg: Name of this interface changed from Report to MainCmdLogging_ifc: The identifier Report
   may be bad understanding, this interface is used as a logging interface. | 
dateFormat, debug, error, fineDebug, fineInfo, info, minSecondsFormat, mNeverOutputToDisplay, mReportLevel, sVersion, warning| Modifier and Type | Method and Description | 
|---|---|
| int | getExitErrorLevel()get the errorLevel setted with setExitErrorLevel(). | 
| void | openReportfile(java.lang.String sFileReport,
              boolean bAppendReport) | 
| void | setExitErrorLevel(int level)set the exitErrorLevel of the maximum of given level of every call. | 
| void | setOutputChannels(java.lang.Appendable outP,
                 java.lang.Appendable errP)Sets destinations for output and error output. | 
| void | writeStackTrace(java.lang.Exception exc) | 
close, flush, flushReport, getReportLevel, getReportLevelFromIdent, isOnline, msgSec, report, report, reportln, reportln, sendMsg, sendMsgTime, sendMsgVaList, setReportLevel, setReportLevelToIdent, timeCurr, timeMsg, writeError, writeError, writeError, writeErrorAdd, writef, writeInfo, writeInfo, writeInfoAdd, writeInfoln, writeWarning, writeWarning, writeWarningAddstatic final int version
#getLogMessageErrorConsole()
 setOutputChannels(Appendable, Appendable). All outputs are redirect-able now.
   Used for output in a graphical text box.
 static final int exitUserAbort
static final int exitWithArgumentError
static final int exitWithFileProblems
static final int exitWithErrors
static final int exitWithWarnings
static final int exitWithNotes
static final int exitSuccessfull
@Deprecated static final int anytime
@Deprecated static final int interested
@Deprecated static final int eventOrder
@Deprecated static final int fineEventOrder
void writeStackTrace(java.lang.Exception exc)
void openReportfile(java.lang.String sFileReport,
                    boolean bAppendReport)
             throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionvoid setExitErrorLevel(int level)
level - Errorlevel how defined in Report, 0 is the lowest level (successfull), >0 is worse.int getExitErrorLevel()
void setOutputChannels(java.lang.Appendable outP,
                       java.lang.Appendable errP)
outP - Destination for output. If null, current output isn't change.errP - Destination for error output. If null, current output isn't change.