/** * Prints a non-announcement message to a given log, with a certain verbosity. If log==ALL_LOGS, * posted to all logs which accept announcements. No '\n' is printed. */ public synchronized void print(String s, int _verbosity, int log) throws OutputException { if (log == ALL_LOGS) for (int x = 0; x < logs.size(); x++) { Log l = (Log) logs.elementAt(x); if (l == null) throw new OutputException("Unknown log number" + l); print(s, V_VERBOSE, l); } else { Log l = (Log) logs.elementAt(log); if (l == null) throw new OutputException("Unknown log number" + l); print(s, V_VERBOSE, l); } }
/** * Prints a non-announcement message to the given logs, with a certain verbosity. No '\n' is * printed. */ public synchronized void print(String s, int[] _logs) throws OutputException { print(s, V_VERBOSE, _logs); }
/** * Prints a non-announcement message to the given logs, with a certain verbosity. No '\n' is * printed. * * @deprecated Verbosity no longer has any effect */ public synchronized void print(String s, int _verbosity, int[] _logs) throws OutputException { for (int x = 0; x < _logs.length; x++) print(s, _logs[x]); }
/** * Prints a non-announcement message to a given log * <!--, with a verbosity of V_NO_GENERAL--> * . If log==ALL_LOGS, posted to all logs which accept announcements. No '\n' is printed. */ public synchronized void print(String s, int log) throws OutputException { print(s, V_VERBOSE, log); }