Home
last modified time | relevance | path

Searched refs:LogRecord (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogRecordTest.java21 import java.util.logging.LogRecord;
28 private LogRecord lr = new LogRecord(Level.CONFIG, MSG);
37 LogRecord lr2 = new LogRecord(Level.CONFIG, "MSG2"); in testGetSetTimeCheck()
76 public LogRecord lr = null; //will be update by the thread
83 lr = new LogRecord(Level.CONFIG, "msg thread"); in update()
DOldFileHandlerTest.java35 import java.util.logging.LogRecord;
48 LogRecord r;
78 r = new LogRecord(Level.CONFIG, "msg"); in setUp()
113 new LogRecord[] { r, null, r, null, r, null, r }, in testFileHandler()
137 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { in testFileHandler_1params()
224 new LogRecord[] { r, null, r, null, r, null, r }, in testFileHandler_2params()
228 new LogRecord[] { r }, new MockFormatter()); in testFileHandler_2params()
260 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { in testFileHandler_3params()
310 new LogRecord[] { r, null, r, null, r, null, r }, in testFileHandler_4params()
314 new LogRecord[] { r }, new MockFormatter()); in testFileHandler_4params()
[all …]
DOldMemoryHandlerTest.java29 import java.util.logging.LogRecord;
70 assertTrue(handler.isLoggable(new LogRecord(Level.INFO, "1"))); in testIsLoggable()
71 assertTrue(handler.isLoggable(new LogRecord(Level.WARNING, "2"))); in testIsLoggable()
72 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "3"))); in testIsLoggable()
85 public boolean isLoggable(LogRecord record) { in isLoggable()
93 public void publish(LogRecord record) {} in publish()
DOldFormatterTest.java23 import java.util.logging.LogRecord;
31 LogRecord r = new LogRecord(Level.FINE, MSG);
70 public String format(LogRecord arg0) { in format()
DOldXMLFormatterTest.java23 import java.util.logging.LogRecord;
31 LogRecord lr = null;
37 lr = new LogRecord(Level.SEVERE, "pattern"); in setUp()
72 public void publish(LogRecord record) {} in publish()
DOldLoggerTest.java27 import java.util.logging.LogRecord;
222 public void publish(LogRecord record) {} in publish()
226 public boolean isLoggable(LogRecord record) { in isLoggable()
DOldLogManagerTest.java27 import java.util.logging.LogRecord;
253 public void publish(LogRecord record) {} in publish()
/libcore/ojluni/src/main/java/java/util/logging/
DLogger.java724 public void log(LogRecord record) { in log()
761 private void doLog(LogRecord lr) { in doLog()
792 LogRecord lr = new LogRecord(level, msg); in log()
814 LogRecord lr = new LogRecord(level, msgSupplier.get()); in log()
833 LogRecord lr = new LogRecord(level, msg); in log()
854 LogRecord lr = new LogRecord(level, msg); in log()
879 LogRecord lr = new LogRecord(level, msg); in log()
907 LogRecord lr = new LogRecord(level, msgSupplier.get()); in log()
933 LogRecord lr = new LogRecord(level, msg); in logp()
960 LogRecord lr = new LogRecord(level, msgSupplier.get()); in logp()
[all …]
DMemoryHandler.java95 private LogRecord buffer[];
152 buffer = new LogRecord[size]; in init()
202 public synchronized void publish(LogRecord record) { in publish()
227 LogRecord record = buffer[ix]; in push()
299 public boolean isLoggable(LogRecord record) { in isLoggable()
DFormatter.java62 public abstract String format(LogRecord record); in format()
113 public synchronized String formatMessage(LogRecord record) { in formatMessage()
DFilter.java48 public boolean isLoggable(LogRecord record); in isLoggable()
DHandler.java90 public abstract void publish(LogRecord record); in publish()
292 public boolean isLoggable(LogRecord record) { in isLoggable()
DStreamHandler.java205 public synchronized void publish(LogRecord record) { in publish()
245 public boolean isLoggable(LogRecord record) { in isLoggable()
DConsoleHandler.java115 public void publish(LogRecord record) { in publish()
DSimpleFormatter.java140 public synchronized String format(LogRecord record) { in format()
DLogRecord.java70 public class LogRecord implements java.io.Serializable { class
176 public LogRecord(Level level, String msg) { in LogRecord() method in LogRecord
DSocketHandler.java205 public synchronized void publish(LogRecord record) { in publish()
DXMLFormatter.java105 public String format(LogRecord record) { in format()
DFileHandler.java681 public synchronized void publish(LogRecord record) { in publish()
DLogManager.java1650 public void log(LogRecord record) { in log()
/libcore/luni/src/test/java/libcore/net/
DNetworkSecurityPolicyTest.java38 import java.util.logging.LogRecord;
213 LogRecord record = new LogRecord(Level.INFO, "A log record"); in testCleartextTrafficPolicyWithLoggingSocketHandler()
/libcore/
Dopenjdk_java_files.mk1118 ojluni/src/main/java/java/util/logging/LogRecord.java \