/libcore/luni/src/main/java/java/util/logging/ |
Filter.java | 30 * the {@link LogRecord} to be checked. 34 boolean isLoggable(LogRecord record);
|
ConsoleHandler.java | 68 public void publish(LogRecord record) {
|
Logger.java | 65 * Once a {@code LogRecord} object has been passed into the logging framework, 78 LogRecord record = new LogRecord(level, message); 194 * log(LogRecord). 655 * Sets the resource bundle and its name for a supplied LogRecord object. 660 private void setResourceBundle(LogRecord record) { 686 LogRecord record = new LogRecord(Level.FINER, "ENTRY"); 712 LogRecord record = new LogRecord(Level.FINER, "ENTRY" + " {0}") [all...] |
Formatter.java | 24 * {@code Formatter} objects are used to format {@link LogRecord} objects into a 38 * Converts a {@link LogRecord} object into a string representation. The 46 public abstract String format(LogRecord r); 49 * Formats a {@code LogRecord} object into a localized string 54 * object associated with the supplied {@code LogRecord}. 63 public String formatMessage(LogRecord r) {
|
MemoryHandler.java | 24 * Mostly this {@code MemoryHandler} just puts the given {@code LogRecord} into 34 * if a new <code>LogRecord</code> is added that has a level greater than or 49 * of {@code LogRecord}, defaults to 1000.</li> 57 // default maximum buffered number of LogRecord 73 private LogRecord[] buffer; 123 buffer = new LogRecord[size]; 134 * the maximum number of buffered {@code LogRecord}, greater than 154 buffer = new LogRecord[size]; 177 * Put a given {@code LogRecord} into internal buffer. If given record is 186 @Override public synchronized void publish(LogRecord record) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
LogRecord.java | 10 public interface LogRecord {
|
LogRecordFactory.java | 33 public LogRecord createLogRecord(String message, String source,
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
TestLogHandler.java | 25 import java.util.logging.LogRecord; 46 * LogRecord firstRecord = handler.getStoredLogRecords().get(0); 57 private final List<LogRecord> list = 58 Collections.synchronizedList(new ArrayList<LogRecord>()); 64 public void publish(LogRecord record) { 80 * @return unmodifiable LogRecord list of all logged records 82 public List<LogRecord> getStoredLogRecords() { 83 List<LogRecord> result = new ArrayList<LogRecord>(list);
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldLogRecordTest.java | 21 import java.util.logging.LogRecord; 28 private LogRecord lr = new LogRecord(Level.CONFIG, MSG); 37 LogRecord lr2 = new LogRecord(Level.CONFIG, "MSG2"); 76 public LogRecord lr = null; //will be update by the thread 83 lr = new LogRecord(Level.CONFIG, "msg thread");
|
OldFormatterTest.java | 23 import java.util.logging.LogRecord; 31 LogRecord r = new LogRecord(Level.FINE, MSG); 70 public String format(LogRecord arg0) {
|
OldXMLFormatterTest.java | 23 import java.util.logging.LogRecord; 31 LogRecord lr = null; 37 lr = new LogRecord(Level.SEVERE, "pattern"); 72 public void publish(LogRecord record) {}
|
OldMemoryHandlerTest.java | 29 import java.util.logging.LogRecord; 70 assertTrue(handler.isLoggable(new LogRecord(Level.INFO, "1"))); 71 assertTrue(handler.isLoggable(new LogRecord(Level.WARNING, "2"))); 72 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "3"))); 85 public boolean isLoggable(LogRecord record) { 93 public void publish(LogRecord record) {}
|
OldFileHandlerTest.java | 35 import java.util.logging.LogRecord; 47 LogRecord r; 77 r = new LogRecord(Level.CONFIG, "msg"); 112 new LogRecord[] { r, null, r, null, r, null, r }, 136 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { 219 new LogRecord[] { r, null, r, null, r, null, r }, 223 new LogRecord[] { r }, new MockFormatter()); 255 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { 305 new LogRecord[] { r, null, r, null, r, null, r }, 309 new LogRecord[] { r }, new MockFormatter()) [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
FilterTest.java | 21 import java.util.logging.LogRecord; 40 public boolean isLoggable(LogRecord record) {
|
LogRecordTest.java | 25 import java.util.logging.LogRecord; 37 private LogRecord lr; 43 lr = new LogRecord(Level.CONFIG, MSG); 49 new LogRecord(null, null); 54 new LogRecord(null, MSG); 58 LogRecord r = new LogRecord(Level.WARNING, null); 112 lr = new LogRecord(Level.ALL, null); 147 lr = new LogRecord(Level.SEVERE, MSG); 154 lr = new LogRecord(Level.SEVERE, MSG) [all...] |
ConsoleHandlerTest.java | 32 import java.util.logging.LogRecord; 142 h.publish(new LogRecord(Level.SEVERE, "test")); 157 h.publish(new LogRecord(Level.SEVERE, 178 h.publish(new LogRecord(Level.SEVERE, 214 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoFilter"); 255 LogRecord r = new LogRecord(Level.INFO, "testPublish_WithFilter"); 275 LogRecord r = new LogRecord(Level.INFO, "testPublish_WithFilter") [all...] |
MemoryHandlerTest.java | 31 import java.util.logging.LogRecord; 113 assertFalse(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); 128 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); 138 LogRecord record = new LogRecord(Level.FINER, "MSG1"); 141 record = new LogRecord(Level.FINE, "MSG2"); 144 record = new LogRecord(Level.CONFIG, "MSG3"); 147 record = new LogRecord(Level.CONFIG, "false"); 151 record = new LogRecord(Level.CONFIG, "false"); 300 LogRecord lr = new LogRecord(Level.CONFIG, "lr") [all...] |
StreamHandlerTest.java | 37 import java.util.logging.LogRecord; 158 h.publish(new LogRecord(Level.SEVERE, "test")); 302 h.publish(new LogRecord(Level.SEVERE, 322 h.publish(new LogRecord(Level.SEVERE, 380 LogRecord r = new LogRecord(Level.INFO, null); 400 LogRecord r = new LogRecord(Level.INFO, null); 420 LogRecord r = new LogRecord(Level.INFO, null) [all...] |
SimpleFormatterTest.java | 23 import java.util.logging.LogRecord; 35 LogRecord lr; 45 lr = new LogRecord(Level.FINE, MSG); 54 sf.format(new LogRecord(Level.SEVERE, null));
|
LoggerTest.java | 31 import java.util.logging.LogRecord; 963 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); 992 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); 1011 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); [all...] |
/libcore/support/src/test/java/libcore/dalvik/system/ |
CloseGuardTester.java | 26 import java.util.logging.LogRecord; 33 private final List<LogRecord> logRecords = new CopyOnWriteArrayList<LogRecord>(); 39 @Override public void publish(LogRecord record) { 58 for (LogRecord leak : logRecords) {
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
DefaultMessageLogFactory.java | 3 import gov.nist.javax.sip.LogRecord; 15 public LogRecord createLogRecord(String message, String source, 22 public LogRecord createLogRecord(String message, String source,
|
/external/guava/guava-tests/test/com/google/common/testing/ |
TestLogHandlerTest.java | 22 import java.util.logging.LogRecord; 57 LogRecord record = handler.getStoredLogRecords().iterator().next(); 69 for (LogRecord record : handler.getStoredLogRecords()) {
|
/frameworks/base/core/java/com/android/internal/logging/ |
AndroidHandler.java | 29 import java.util.logging.LogRecord; 91 public String format(LogRecord r) { 125 public void publish(LogRecord record) {
|
/external/jmonkeyengine/engine/src/android/com/jme3/util/ |
AndroidLogHandler.java | 6 import java.util.logging.LogRecord; 24 public void publish(LogRecord record) {
|