Here you can find the source of logRawToConsole(String msg)
Parameter | Description |
---|---|
msg | The message to be written |
static void logRawToConsole(String msg)
//package com.java2s; // it under the terms of the GNU General Public License as published by import java.io.PrintStream; public class Main { private static final PrintStream out = System.out; private static boolean sendConsoleOutputToTwsLog = false; /**/*w ww . ja va 2s . com*/ * Writes a plain one-line text message to the console. * @param msg * The message to be written */ static void logRawToConsole(String msg) { getOutStream().println(msg); } static PrintStream getOutStream() { if (sendConsoleOutputToTwsLog) { return System.out; } else { return out; } } }