Java 类net.minecraft.util.LoggingPrintStream 实例源码

项目:Backmemed    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    if (LOGGER.isDebugEnabled())
    {
        System.setErr(new DebugLoggingPrintStream("STDERR", System.err));
        System.setOut(new DebugLoggingPrintStream("STDOUT", SYSOUT));
    }
    else
    {
        System.setErr(new LoggingPrintStream("STDERR", System.err));
        System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
    }
}
项目:DecompiledMinecraft    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    System.setErr(new LoggingPrintStream("STDERR", System.err));
    System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
}
项目:DecompiledMinecraft    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    System.setErr(new LoggingPrintStream("STDERR", System.err));
    System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
}
项目:BaseClient    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    System.setErr(new LoggingPrintStream("STDERR", System.err));
    System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
}
项目:BaseClient    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    System.setErr(new LoggingPrintStream("STDERR", System.err));
    System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
}
项目:CustomWorldGen    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    System.setErr(new LoggingPrintStream("STDERR", System.err));
    System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
}
项目:ExpandedRailsMod    文件:Bootstrap.java   
/**
 * redirect standard streams to logger
 */
private static void redirectOutputToLog()
{
    System.setErr(new LoggingPrintStream("STDERR", System.err));
    System.setOut(new LoggingPrintStream("STDOUT", SYSOUT));
}