keycloak-federation
クラス | 静的公開メンバ関数 | 静的公開変数類 | 静的非公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
cx.ath.matthew.debug.Debug クラス
cx.ath.matthew.debug.Debug 連携図
Collaboration graph

クラス

interface  FilterCommand
 

静的公開メンバ関数

static void setProperties (Properties prop)
 
static void loadConfig (File f) throws IOException
 
static boolean debugging (Class c, int loglevel)
 
static boolean debugging (String s, int loglevel)
 
static void setOutput (PrintStream p) throws IOException
 
static void setOutput (String filename) throws IOException
 
static void setOutput () throws IOException
 
static void print (Object d)
 
static void print (Object o, Object d)
 
static void print (Object o, int loglevel, Object d)
 
static void print (Object o, int loglevel, String s)
 
static void print (Object o, int loglevel, Throwable t)
 
static void print (Class c, int loglevel, Throwable t)
 
static void print (int loglevel, Throwable t)
 
static void print (int loglevel, byte[] b)
 
static void print (int loglevel, String s)
 
static void print (Class c, int loglevel, Object d)
 
static void print (Class c, int loglevel, String s)
 
static void print (int loglevel, Object o)
 
static void printMap (Object o, int loglevel, Map m)
 
static void printMap (Class c, int loglevel, Map m)
 
static void printMap (Map m)
 
static void printMap (int loglevel, Map m)
 
static void setThrowableTraces (boolean ttrace)
 
static void setTiming (boolean timing)
 
static void setLineNos (boolean lines)
 
static void setHexDump (boolean hexdump)
 
static void setByteArrayCount (int count)
 
static void setByteArrayWidth (int width)
 
static void addFilterCommand (Class c, FilterCommand f)
 

静的公開変数類

static final int CRIT = 1
 
static final int ERR = 2
 
static final int WARN = 3
 
static final int INFO = 4
 
static final int DEBUG = 5
 
static final int VERBOSE = 6
 
static final boolean debug = false
 
static PrintStream debugout = System.err
 

静的非公開メンバ関数

static String [] getTraceElements ()
 
static void _print (Class c, int level, String loc, String extra, String message, String[] lines)
 

静的非公開変数類

static Properties prop = null
 
static boolean timing = false
 
static boolean ttrace = false
 
static boolean lines = false
 
static boolean hexdump = false
 
static long last = 0
 
static int balen = 36
 
static int bawidth = 80
 
static Class saveclass = null
 
static Map filterMap = new HashMap()
 

詳解

Add debugging to your program, has support for large projects with multiple classes and debug levels per class. Supports optional enabling of debug per-level per-class and debug targets of files, Streams or stderr. Also supports timing between debug outputs, printing of stack traces for Throwables and files/line numbers on each message.

Debug now automatically figures out which class it was called from, so all methods passing in the calling class are deprecated.

The defaults are to print all messages to stderr with class and method name.

Should be called like this:

if (Debug.debug) Debug.print(Debug.INFO, "Debug Message");

関数詳解

◆ _print()

static void cx.ath.matthew.debug.Debug._print ( Class  c,
int  level,
String  loc,
String  extra,
String  message,
String []  lines 
)
inlinestaticprivate
660  {
661  //TODO 1.5: FilterCommand f = filterMap.get(c);
662  FilterCommand f = (FilterCommand) filterMap.get(c);
663  if (null == f) {
664  debugout.println("[" + loc + "] " + extra + message);
665  if (null != lines)
666  for (String s : lines)
667  debugout.println(s);
668  } else
669  f.filter(debugout, level, loc, extra, message, lines);
670  }
static Map filterMap
Definition: Debug.java:161
static PrintStream debugout
Definition: Debug.java:150
static boolean lines
Definition: Debug.java:154

◆ addFilterCommand()

static void cx.ath.matthew.debug.Debug.addFilterCommand ( Class  c,
FilterCommand  f 
)
inlinestatic

Add a filter command for a specific type. This command will be called with the output stream and the text to be sent. It should perform any changes necessary to the text and then print the result to the output stream.

656  {
657  filterMap.put(c, f);
658  }
static Map filterMap
Definition: Debug.java:161

◆ debugging() [1/2]

static boolean cx.ath.matthew.debug.Debug.debugging ( Class  c,
int  loglevel 
)
inlinestatic
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
212  {
213  if (debug) {
214  if (null == c) return true;
215  return debugging(c.getName(), loglevel);
216  }
217  return false;
218  }
static final boolean debug
Definition: Debug.java:146
static boolean debugging(Class c, int loglevel)
Definition: Debug.java:212

◆ debugging() [2/2]

static boolean cx.ath.matthew.debug.Debug.debugging ( String  s,
int  loglevel 
)
inlinestatic
220  {
221  if (debug) {
222  try {
223  if (null == s) return true;
224  if (null == prop) return loglevel <= DEBUG;
225  String d = prop.getProperty(s);
226  if (null == d || "".equals(d)) d = prop.getProperty("ALL");
227  if (null == d) return loglevel <= ERR;
228  if ("".equals(d)) return loglevel <= ERR;
229  d = d.toLowerCase();
230  if ("true".equals(d)) return true;
231  if ("yes".equals(d)) return true;
232  if ("all".equals(d)) return true;
233  if ("verbose".equals(d)) return loglevel <= VERBOSE;
234  if ("debug".equals(d)) return loglevel <= DEBUG;
235  if ("info".equals(d)) return loglevel <= INFO;
236  if ("warn".equals(d)) return loglevel <= WARN;
237  if ("err".equals(d)) return loglevel <= ERR;
238  if ("crit".equals(d)) return loglevel <= CRIT;
239  int i = Integer.parseInt(d);
240  return i >= loglevel;
241  } catch (Exception e) {
242  return false;
243  }
244  }
245  return false;
246  }
static final int WARN
Definition: Debug.java:130
static final int CRIT
Definition: Debug.java:122
static final int INFO
Definition: Debug.java:134
static final int VERBOSE
Definition: Debug.java:142
static Properties prop
Definition: Debug.java:151
static final boolean debug
Definition: Debug.java:146
static final int DEBUG
Definition: Debug.java:138
static final int ERR
Definition: Debug.java:126

◆ getTraceElements()

static String [] cx.ath.matthew.debug.Debug.getTraceElements ( )
inlinestaticprivate
485  {
486  String[] data = new String[]{"", "", ""};
487  try {
488  Method m = Thread.class.getMethod("getStackTrace", new Class[0]);
489  StackTraceElement[] stes = (StackTraceElement[]) m.invoke(Thread.currentThread(), new Object[0]);
490  for (StackTraceElement ste : stes) {
491  if (Debug.class.getName().equals(ste.getClassName())) continue;
492  if (Thread.class.getName().equals(ste.getClassName())) continue;
493  if (Method.class.getName().equals(ste.getClassName())) continue;
494  if (ste.getClassName().startsWith("sun.reflect")) continue;
495  data[0] = ste.getClassName();
496  data[1] = ste.getMethodName();
497  if (lines)
498  data[2] = " " + ste.getFileName() + ":" + ste.getLineNumber();
499  break;
500  }
501  } catch (NoSuchMethodException NSMe) {
502  if (null != saveclass)
503  data[0] = saveclass.getName();
504  } catch (IllegalAccessException IAe) {
505  } catch (InvocationTargetException ITe) {
506  }
507  return data;
508  }
static Class saveclass
Definition: Debug.java:159
static boolean lines
Definition: Debug.java:154

◆ loadConfig()

static void cx.ath.matthew.debug.Debug.loadConfig ( File  f) throws IOException
inlinestatic

Read which class to debug on at which level from the given File. Syntax the same as Java Properties files:

<class> = <debuglevel>

E.G.

cx.ath.matthew.io.TeeOutputStream = INFO
cx.ath.matthew.io.DOMPrinter = DEBUG

The debug level can be one of CRIT, ERR, WARN, INFO, DEBUG or VERBOSE which correspond to all messages up to that level. The special words YES, ALL and TRUE cause all messages to be printed regardless of level. All other terms disable messages for that class. CRIT and ERR messages are always printed if debugging is enabled unless explicitly disabled. The special class name ALL can be used to set the default level for all classes.

引数
fFile to read from.
203  {
204  prop = new Properties();
205  prop.load(new FileInputStream(f));
206  }
static Properties prop
Definition: Debug.java:151

◆ print() [1/12]

static void cx.ath.matthew.debug.Debug.print ( Object  d)
inlinestatic

Log at DEBUG

引数
dThe object to log
274  {
275  if (debug) {
276  if (d instanceof String)
277  print(DEBUG, (String) d);
278  else if (d instanceof Throwable)
279  print(DEBUG, (Throwable) d);
280  else if (d instanceof byte[])
281  print(DEBUG, (byte[]) d);
282  else if (d instanceof Map)
283  printMap(DEBUG, (Map) d);
284  else print(DEBUG, d);
285  }
286  }
static void print(Object d)
Definition: Debug.java:274
static void printMap(Object o, int loglevel, Map m)
Definition: Debug.java:540
static final boolean debug
Definition: Debug.java:146
static final int DEBUG
Definition: Debug.java:138

◆ print() [2/12]

static void cx.ath.matthew.debug.Debug.print ( Object  o,
Object  d 
)
inlinestatic

Log at DEBUG

引数
oThe object doing the logging
dThe object to log
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
296  {
297  if (debug) {
298  if (o instanceof Class)
299  saveclass = (Class) o;
300  else
301  saveclass = o.getClass();
302  print(d);
303  }
304  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [3/12]

static void cx.ath.matthew.debug.Debug.print ( Object  o,
int  loglevel,
Object  d 
)
inlinestatic

Log an Object

引数
oThe object doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
dThe object to log with d.toString()
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
315  {
316  if (debug) {
317  if (o instanceof Class)
318  saveclass = (Class) o;
319  else
320  saveclass = o.getClass();
321  print(loglevel, d);
322  }
323  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [4/12]

static void cx.ath.matthew.debug.Debug.print ( Object  o,
int  loglevel,
String  s 
)
inlinestatic

Log a String

引数
oThe object doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
sThe log message
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
334  {
335  if (debug) {
336  if (o instanceof Class)
337  saveclass = (Class) o;
338  else
339  saveclass = o.getClass();
340  print(loglevel, s);
341  }
342  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [5/12]

static void cx.ath.matthew.debug.Debug.print ( Object  o,
int  loglevel,
Throwable  t 
)
inlinestatic

Log a Throwable

引数
oThe object doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
tThe throwable to log with .toString and .printStackTrace
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
353  {
354  if (debug) {
355  if (o instanceof Class)
356  saveclass = (Class) o;
357  else
358  saveclass = o.getClass();
359  print(loglevel, t);
360  }
361  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [6/12]

static void cx.ath.matthew.debug.Debug.print ( Class  c,
int  loglevel,
Throwable  t 
)
inlinestatic

Log a Throwable

引数
cThe class doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
tThe throwable to log with .toString and .printStackTrace
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
372  {
373  if (debug) {
374  saveclass = c;
375  print(loglevel, t);
376  }
377  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [7/12]

static void cx.ath.matthew.debug.Debug.print ( int  loglevel,
Throwable  t 
)
inlinestatic

Log a Throwable

引数
loglevelThe level to log at (DEBUG, WARN, etc)
tThe throwable to log with .toString and .printStackTrace
参照
setThrowableTraces to turn on stack traces.
386  {
387  if (debug) {
388  String timestr = "";
389  String[] data = getTraceElements();
390  if (debugging(data[0], loglevel)) {
391  if (timing) {
392  long now = System.currentTimeMillis();
393  timestr = "{" + (now - last) + "} ";
394  last = now;
395  }
396  String[] lines = null;
397  if (ttrace) {
398  StackTraceElement[] ste = t.getStackTrace();
399  lines = new String[ste.length];
400  for (int i = 0; i < ste.length; i++)
401  lines[i] = "\tat " + ste[i].toString();
402  }
403  _print(t.getClass(), loglevel, data[0] + "." + data[1] + "()" + data[2], timestr, t.toString(), lines);
404  }
405  }
406  }
static boolean ttrace
Definition: Debug.java:153
static void _print(Class c, int level, String loc, String extra, String message, String[] lines)
Definition: Debug.java:660
static boolean timing
Definition: Debug.java:152
static String [] getTraceElements()
Definition: Debug.java:485
static final boolean debug
Definition: Debug.java:146
static long last
Definition: Debug.java:156
static boolean lines
Definition: Debug.java:154
static boolean debugging(Class c, int loglevel)
Definition: Debug.java:212

◆ print() [8/12]

static void cx.ath.matthew.debug.Debug.print ( int  loglevel,
byte []  b 
)
inlinestatic

Log a byte array

引数
loglevelThe level to log at (DEBUG, WARN, etc)
bThe byte array to print.
参照
setHexDump to enable hex dumping.
setByteArrayCount to change how many bytes are printed.
setByteArrayWidth to change the formatting width of hex.
417  {
418  if (debug) {
419  String timestr = "";
420  String[] data = getTraceElements();
421  if (debugging(data[0], loglevel)) {
422  if (timing) {
423  long now = System.currentTimeMillis();
424  timestr = "{" + (now - last) + "} ";
425  last = now;
426  }
427  String[] lines = null;
428  if (hexdump) {
429  if (balen >= b.length)
430  lines = Hexdump.format(b, bawidth).split("\n");
431  else {
432  byte[] buf = new byte[balen];
433  System.arraycopy(b, 0, buf, 0, balen);
434  lines = Hexdump.format(buf, bawidth).split("\n");
435  }
436  }
437  _print(b.getClass(), loglevel, data[0] + "." + data[1] + "()" + data[2], timestr, b.length + " bytes", lines);
438  }
439  }
440  }
static void _print(Class c, int level, String loc, String extra, String message, String[] lines)
Definition: Debug.java:660
static boolean hexdump
Definition: Debug.java:155
static boolean timing
Definition: Debug.java:152
static int bawidth
Definition: Debug.java:158
static String [] getTraceElements()
Definition: Debug.java:485
static final boolean debug
Definition: Debug.java:146
static long last
Definition: Debug.java:156
static int balen
Definition: Debug.java:157
static boolean lines
Definition: Debug.java:154
static boolean debugging(Class c, int loglevel)
Definition: Debug.java:212

◆ print() [9/12]

static void cx.ath.matthew.debug.Debug.print ( int  loglevel,
String  s 
)
inlinestatic

Log a String

引数
loglevelThe level to log at (DEBUG, WARN, etc)
sThe string to log with d.toString()
448  {
449  if (debug)
450  print(loglevel, (Object) s);
451  }
static void print(Object d)
Definition: Debug.java:274
static final boolean debug
Definition: Debug.java:146

◆ print() [10/12]

static void cx.ath.matthew.debug.Debug.print ( Class  c,
int  loglevel,
Object  d 
)
inlinestatic

Log an Object

引数
cThe class doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
dThe object to log with d.toString()
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
462  {
463  if (debug) {
464  saveclass = c;
465  print(loglevel, d);
466  }
467  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [11/12]

static void cx.ath.matthew.debug.Debug.print ( Class  c,
int  loglevel,
String  s 
)
inlinestatic

Log a String

引数
cThe class doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
sThe log message
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
478  {
479  if (debug) {
480  saveclass = c;
481  print(loglevel, s);
482  }
483  }
static void print(Object d)
Definition: Debug.java:274
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ print() [12/12]

static void cx.ath.matthew.debug.Debug.print ( int  loglevel,
Object  o 
)
inlinestatic

Log an Object

引数
loglevelThe level to log at (DEBUG, WARN, etc)
oThe object to log
516  {
517  if (debug) {
518  String timestr = "";
519  String[] data = getTraceElements();
520  if (debugging(data[0], loglevel)) {
521  if (timing) {
522  long now = System.currentTimeMillis();
523  timestr = "{" + (now - last) + "} ";
524  last = now;
525  }
526  _print(o.getClass(), loglevel, data[0] + "." + data[1] + "()" + data[2], timestr, o.toString(), null);
527  }
528  }
529  }
static void _print(Class c, int level, String loc, String extra, String message, String[] lines)
Definition: Debug.java:660
static boolean timing
Definition: Debug.java:152
static String [] getTraceElements()
Definition: Debug.java:485
static final boolean debug
Definition: Debug.java:146
static long last
Definition: Debug.java:156
static boolean debugging(Class c, int loglevel)
Definition: Debug.java:212

◆ printMap() [1/4]

static void cx.ath.matthew.debug.Debug.printMap ( Object  o,
int  loglevel,
Map  m 
)
inlinestatic

Log a Map

引数
oThe object doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
mThe Map to print out
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
540  {
541  if (debug) {
542  if (o instanceof Class)
543  saveclass = (Class) o;
544  else
545  saveclass = o.getClass();
546  printMap(loglevel, m);
547  }
548  }
static void printMap(Object o, int loglevel, Map m)
Definition: Debug.java:540
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ printMap() [2/4]

static void cx.ath.matthew.debug.Debug.printMap ( Class  c,
int  loglevel,
Map  m 
)
inlinestatic

Log a Map

引数
cThe class doing the logging
loglevelThe level to log at (DEBUG, WARN, etc)
mThe Map to print out
非推奨:
In Java 1.5 calling class is automatically identified, no need to pass it in.
559  {
560  if (debug) {
561  saveclass = c;
562  printMap(loglevel, m);
563  }
564  }
static void printMap(Object o, int loglevel, Map m)
Definition: Debug.java:540
static Class saveclass
Definition: Debug.java:159
static final boolean debug
Definition: Debug.java:146

◆ printMap() [3/4]

static void cx.ath.matthew.debug.Debug.printMap ( Map  m)
inlinestatic

Log a Map at DEBUG log level

引数
mThe Map to print out
571  {
572  printMap(DEBUG, m);
573  }
static void printMap(Object o, int loglevel, Map m)
Definition: Debug.java:540
static final int DEBUG
Definition: Debug.java:138

◆ printMap() [4/4]

static void cx.ath.matthew.debug.Debug.printMap ( int  loglevel,
Map  m 
)
inlinestatic

Log a Map

引数
loglevelThe level to log at (DEBUG, WARN, etc)
mThe Map to print out
581  {
582  if (debug) {
583  String timestr = "";
584  String[] data = getTraceElements();
585  if (debugging(data[0], loglevel)) {
586  if (timing) {
587  long now = System.currentTimeMillis();
588  timestr = "{" + (now - last) + "} ";
589  last = now;
590  }
591  Iterator i = m.keySet().iterator();
592  String[] lines = new String[m.size()];
593  int j = 0;
594  while (i.hasNext()) {
595  Object key = i.next();
596  lines[j++] = "\t\t- " + key + " => " + m.get(key);
597  }
598  _print(m.getClass(), loglevel, data[0] + "." + data[1] + "()" + data[2], timestr, "Map:", lines);
599  }
600  }
601  }
static void _print(Class c, int level, String loc, String extra, String message, String[] lines)
Definition: Debug.java:660
static boolean timing
Definition: Debug.java:152
static String [] getTraceElements()
Definition: Debug.java:485
static final boolean debug
Definition: Debug.java:146
static long last
Definition: Debug.java:156
static boolean lines
Definition: Debug.java:154
static boolean debugging(Class c, int loglevel)
Definition: Debug.java:212

◆ setByteArrayCount()

static void cx.ath.matthew.debug.Debug.setByteArrayCount ( int  count)
inlinestatic

Set the size of hexdumps. (Default: 36)

635  {
636  Debug.balen = count;
637  }

◆ setByteArrayWidth()

static void cx.ath.matthew.debug.Debug.setByteArrayWidth ( int  width)
inlinestatic

Set the formatted width of hexdumps. (Default: 80 chars)

643  {
644  Debug.bawidth = width;
645  }

◆ setHexDump()

static void cx.ath.matthew.debug.Debug.setHexDump ( boolean  hexdump)
inlinestatic

Enable or disable hexdumps.

627  {
628  Debug.hexdump = hexdump;
629  }
static boolean hexdump
Definition: Debug.java:155

◆ setLineNos()

static void cx.ath.matthew.debug.Debug.setLineNos ( boolean  lines)
inlinestatic

Enable or disable line numbers.

620  {
621  Debug.lines = lines;
622  }
static boolean lines
Definition: Debug.java:154

◆ setOutput() [1/3]

static void cx.ath.matthew.debug.Debug.setOutput ( PrintStream  p) throws IOException
inlinestatic

Output to the given Stream

251  {
252  debugout = p;
253  }
static PrintStream debugout
Definition: Debug.java:150

◆ setOutput() [2/3]

static void cx.ath.matthew.debug.Debug.setOutput ( String  filename) throws IOException
inlinestatic

Output to the given file

258  {
259  debugout = new PrintStream(new FileOutputStream(filename, true));
260  }
static PrintStream debugout
Definition: Debug.java:150

◆ setOutput() [3/3]

static void cx.ath.matthew.debug.Debug.setOutput ( ) throws IOException
inlinestatic

Output to the default debug.log

265  {
266  setOutput("./debug.log");
267  }
static void setOutput()
Definition: Debug.java:265

◆ setProperties()

static void cx.ath.matthew.debug.Debug.setProperties ( Properties  prop)
inlinestatic

Set properties to configure debugging. Format of properties is class => level, e.g.

cx.ath.matthew.io.TeeOutputStream = INFO
cx.ath.matthew.io.DOMPrinter = DEBUG

The debug level can be one of CRIT, ERR, WARN, INFO, DEBUG or VERBOSE which correspond to all messages up to that level. The special words YES, ALL and TRUE cause all messages to be printed regardless of level. All other terms disable messages for that class. CRIT and ERR messages are always printed if debugging is enabled unless explicitly disabled. The special class name ALL can be used to set the default level for all classes.

引数
propProperties object to use.
179  {
180  Debug.prop = prop;
181  }
static Properties prop
Definition: Debug.java:151

◆ setThrowableTraces()

static void cx.ath.matthew.debug.Debug.setThrowableTraces ( boolean  ttrace)
inlinestatic

Enable or disable stack traces in Debuging throwables.

606  {
607  Debug.ttrace = ttrace;
608  }
static boolean ttrace
Definition: Debug.java:153

◆ setTiming()

static void cx.ath.matthew.debug.Debug.setTiming ( boolean  timing)
inlinestatic

Enable or disable timing in Debug messages.

613  {
614  Debug.timing = timing;
615  }
static boolean timing
Definition: Debug.java:152

メンバ詳解

◆ balen

int cx.ath.matthew.debug.Debug.balen = 36
staticprivate

◆ bawidth

int cx.ath.matthew.debug.Debug.bawidth = 80
staticprivate

◆ CRIT

final int cx.ath.matthew.debug.Debug.CRIT = 1
static

Highest priority messages

◆ DEBUG

final int cx.ath.matthew.debug.Debug.DEBUG = 5
static

Debug messages

◆ debug

final boolean cx.ath.matthew.debug.Debug.debug = false
static

Set this to false to disable compilation of Debug statements

◆ debugout

PrintStream cx.ath.matthew.debug.Debug.debugout = System.err
static

The current output stream (defaults to System.err)

◆ ERR

final int cx.ath.matthew.debug.Debug.ERR = 2
static

Error messages

◆ filterMap

Map cx.ath.matthew.debug.Debug.filterMap = new HashMap()
staticprivate

◆ hexdump

boolean cx.ath.matthew.debug.Debug.hexdump = false
staticprivate

◆ INFO

final int cx.ath.matthew.debug.Debug.INFO = 4
static

Information

◆ last

long cx.ath.matthew.debug.Debug.last = 0
staticprivate

◆ lines

boolean cx.ath.matthew.debug.Debug.lines = false
staticprivate

◆ prop

Properties cx.ath.matthew.debug.Debug.prop = null
staticprivate

◆ saveclass

Class cx.ath.matthew.debug.Debug.saveclass = null
staticprivate

◆ timing

boolean cx.ath.matthew.debug.Debug.timing = false
staticprivate

◆ ttrace

boolean cx.ath.matthew.debug.Debug.ttrace = false
staticprivate

◆ VERBOSE

final int cx.ath.matthew.debug.Debug.VERBOSE = 6
static

Verbose debug messages

◆ WARN

final int cx.ath.matthew.debug.Debug.WARN = 3
static

Warnings


このクラス詳解は次のファイルから抽出されました: