public final class MsgDispatchSystemOutErr
extends java.lang.Object
MsgDispatcher capability.
 | Modifier and Type | Field and Description | 
|---|---|
| LogMessageStream | cmdlineErrThe output channels to console. | 
| LogMessageStream | cmdlineOutThe output channels to console. | 
| LogMessageFile | fileOutputIt is null when  #MsgDispatchSystemOutErr(String)was called with null. | 
| static int | ixMsgOutputFileIndices to the output channels. | 
| static int | ixMsgOutputStdErrIndices to the output channels. | 
| static int | ixMsgOutputStdOutIndices to the output channels. | 
| MsgDispatcher | msgDispatcherThe message dispatcher | 
| MsgPrintStream | printErrThe converter from any output to a message. | 
| MsgPrintStream | printOutThe converter from any output to a message. | 
| static MsgDispatchSystemOutErr | singleton | 
| private java.util.TimeZone | timeZoneForFile | 
| static int | versionVersion, history and license. | 
| Modifier | Constructor and Description | 
|---|---|
| private  | MsgDispatchSystemOutErr(java.lang.String msgFiles,
                       int identStartOut,
                       int identStartErr,
                       int sizeNoGroup,
                       int sizeGroup)Initializes the redirection of System.out and System.err | 
| Modifier and Type | Method and Description | 
|---|---|
| static MsgDispatchSystemOutErr | create(java.lang.String msgFiles,
      int identStartOut,
      int identStartErr,
      int sizeNoGroup,
      int sizeGroup)Creates a static instance to redirect System.err and System.out | 
public static final int version
MsgPrintStream to redirect System.out and System.err.
 public static final int ixMsgOutputStdOut
public static final int ixMsgOutputStdErr
public static final int ixMsgOutputFile
public final MsgPrintStream printOut
MsgPrintStream.setMsgGroupIdent(String, int, int) to manipulate the building
 of the ident numbers.public final MsgPrintStream printErr
MsgPrintStream.setMsgGroupIdent(String, int, int) to manipulate the building
 of the ident numbers.public final MsgDispatcher msgDispatcher
public final LogMessageFile fileOutput
#MsgDispatchSystemOutErr(String) was called with null.private final java.util.TimeZone timeZoneForFile
public final LogMessageStream cmdlineOut
public final LogMessageStream cmdlineErr
public static MsgDispatchSystemOutErr singleton
private MsgDispatchSystemOutErr(java.lang.String msgFiles,
                                int identStartOut,
                                int identStartErr,
                                int sizeNoGroup,
                                int sizeGroup)
msgFiles - A file path. If not null, then all messages will be written to the file additionally to the console.
   Note that the MsgDispatcher can be configured after this constructor to modify the outputs.public static MsgDispatchSystemOutErr create(java.lang.String msgFiles, int identStartOut, int identStartErr, int sizeNoGroup, int sizeGroup)
msgFiles - A file path. If not null, then all messages will be written to the file additionally to the console.
   Note that the MsgDispatcher can be configured after this constructor to modify the outputs.singleton too.