Révision 2448
tmp/org.txm.utils/src/org/txm/utils/logger/Log.java (revision 2448) | ||
---|---|---|
75 | 75 |
txm = new TXMLogger("TXMFileLogger", null); |
76 | 76 |
txm.setLevel(Level.SEVERE); // default is to show errors |
77 | 77 |
txm.setUseParentHandlers(true); |
78 |
frameList = new ArrayList<String>();
|
|
78 |
frameList = new ArrayList<>(); |
|
79 | 79 |
frameList.add(id); |
80 | 80 |
} |
81 | 81 |
|
... | ... | |
412 | 412 |
} |
413 | 413 |
|
414 | 414 |
/** |
415 |
* Checks if the FINE level is activated. |
|
416 |
* |
|
417 |
* @return |
|
418 |
*/ |
|
419 |
public static boolean isLoggingFine() { |
|
420 |
return Level.FINE.intValue() >= Log.getLevel().intValue(); |
|
421 |
} |
|
422 |
|
|
423 |
/** |
|
415 | 424 |
* Method from LogRecord to determine if a frame is a logger frame |
416 | 425 |
* |
417 | 426 |
* @param cname |
Formats disponibles : Unified diff