Searched refs:logRecord (Results 1 – 13 of 13) sorted by relevance
167 LogRecord logRecord = listHandler.recordList.get(index); in assertLogMessage() local168 Assert.assertNotNull(logRecord); in assertLogMessage()169 assertEquals(expected, logRecord.getMessage()); in assertLogMessage()173 LogRecord logRecord = listHandler.recordList.get(index); in assertException() local174 Assert.assertNotNull(logRecord); in assertException()175 assertEquals(exceptionType, logRecord.getThrown().getClass()); in assertException()
44 public void publish(LogRecord logRecord) { in publish() argument45 logRecord.getSourceClassName(); in publish()46 list.add(logRecord); in publish()
53 LogRecord logRecord = (LogRecord) listHandler.list.get(i); in test() local54 assertEquals("test", logRecord.getSourceMethodName()); in test()
64 LogRecord logRecord = (LogRecord) listHandler.list.get(i); in testBug131() local65 assertEquals("testBug131", logRecord.getSourceMethodName()); in testBug131()
30 @Override public synchronized void publish(LogRecord logRecord) { in publish() argument31 logs.add(logRecord.getLevel() + ": " + logRecord.getMessage()); in publish()
188 LogRecord logRecord = new LogRecord(Level.INFO, "message:<init>&");189 logRecord.setLoggerName("<init>&");190 logRecord.setThrown(new Exception("<init>&"));191 logRecord.setParameters(new String[] { "<init>&" });192 logger.log(logRecord);
58 public void publish(LogRecord logRecord) { in publish() argument59 loggedMessages.add(logRecord); in publish()
63 public void publish(LogRecord logRecord) { in publish() argument64 loggedMessages.add(logRecord); in publish()
50 public void publish(LogRecord logRecord) {51 logRecords.add(logRecord);531 LogRecord logRecord = Iterables.getOnlyElement(this.logRecords); in testUserReportedErrorsAreAlsoLogged() local533 logRecord.getMessage(), in testUserReportedErrorsAreAlsoLogged()
745 MethodSpec logRecord = MethodSpec.methodBuilder("recordEvent")751 .addParameter(LogRecord.class, "logRecord")763 LogReceipt recordEvent(LogRecord logRecord);770 MethodSpec logRecord = MethodSpec.methodBuilder("recordEvent")782 .addParameter(LogRecord.class, "logRecord")794 LogReceipt recordEvent(LogRecord logRecord);
1091 public void publish(LogRecord logRecord) {1092 logRecords.add(logRecord);
85 LogRecord logRecord = logRecords.get(0); in popLoggedThrowable() local87 return logRecord.getThrown(); in popLoggedThrowable()
127 LogRecord logRecord = logRecords.get(0); in popLoggedThrowable() local129 return logRecord.getThrown(); in popLoggedThrowable()