예제 #1
0
파일: Output.java 프로젝트: pgoelz/xfp
 /**
  * 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);
   }
 }
예제 #2
0
파일: Output.java 프로젝트: pgoelz/xfp
 /**
  * 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);
 }
예제 #3
0
파일: Output.java 프로젝트: pgoelz/xfp
 /**
  * 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]);
 }
예제 #4
0
파일: Output.java 프로젝트: pgoelz/xfp
 /**
  * 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);
 }