- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for LogRecord (0.18 sec)
-
okhttp/src/test/java/okhttp3/TestLogHandler.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import junit.framework.TestCase; /** * Unit test for {@link TestLogHandler}. * * @author kevinb */ public class TestLogHandlerTest extends TestCase {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import junit.framework.TestCase; /** * Unit test for {@link TestLogHandler}. * * @author kevinb */ public class TestLogHandlerTest extends TestCase {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
@ElementTypesAreNonnullByDefault public class TestLogHandler extends Handler { /** We will keep a private list of all logged records */ private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @Override public synchronized void publish(@Nullable LogRecord record) { if (record != null) { list.add(record); } } @Override public void flush() {} @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
@ElementTypesAreNonnullByDefault public class TestLogHandler extends Handler { /** We will keep a private list of all logged records */ private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @Override public synchronized void publish(@Nullable LogRecord record) { if (record != null) { list.add(record); } } @Override public void flush() {} @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 2.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
package okhttp3 import java.io.Closeable import java.util.concurrent.CopyOnWriteArraySet import java.util.logging.ConsoleHandler import java.util.logging.Handler import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import java.util.logging.SimpleFormatter import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/MessageFormatter.kt
* limitations under the License. */ package okhttp3.curl.logging import java.util.logging.LogRecord import java.util.logging.SimpleFormatter object MessageFormatter : SimpleFormatter() { override fun format(record: LogRecord): String { return String.format("%s%n", record.message) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 860 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
import java.util.logging.Handler import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import okhttp3.OkHttpClient import okhttp3.internal.SuppressSignatureCheck import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 import okhttp3.internal.platform.android.AndroidLog.androidLog private val LogRecord.androidLevel: Int get() = when {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.9K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
import java.time.temporal.ChronoField.MINUTE_OF_HOUR import java.time.temporal.ChronoField.NANO_OF_SECOND import java.time.temporal.ChronoField.SECOND_OF_MINUTE import java.util.logging.Formatter import java.util.logging.LogRecord /** * Is Java8 Data and Time really this bad, or is writing this on a plane from just javadocs a bad * idea? * * Why so much construction? */ class OneLineLogFormat : Formatter() { private val d =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.1K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
* limitations under the License. */ package okhttp3.curl.logging import java.util.logging.ConsoleHandler import java.util.logging.Level import java.util.logging.LogManager import java.util.logging.LogRecord import java.util.logging.Logger import okhttp3.internal.http2.Http2 class LoggingUtil { companion object { private val activeLoggers = mutableListOf<Logger>() fun configureLogging(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Viewed (1)