- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for LogRecord (0.1 sec)
-
guava-testlib/src/com/google/common/testing/TestLogHandler.java
private final Object lock = new Object(); /** We will keep a private list of all logged records */ @GuardedBy("lock") private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @Override public void publish(@Nullable LogRecord record) { synchronized (lock) { if (record != null) { list.add(record); } } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 20:53:25 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestLogHandler.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K 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 {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.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) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 860 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
private final Object lock = new Object(); /** We will keep a private list of all logged records */ @GuardedBy("lock") private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @Override public void publish(@Nullable LogRecord record) { synchronized (lock) { if (record != null) { list.add(record); } } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 20:53:25 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.io.Closeable import java.util.logging.Handler import java.util.logging.LogRecord object JsseDebugLogging { data class JsseDebugMessage(val message: String, val param: String?) { enum class Type { Handshake, Plaintext, Encrypted, Setup, Unknown,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K 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 {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.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 =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.1K bytes - Viewed (1) -
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(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
package okhttp3.recipes.kt import java.io.File import java.io.IOException import java.lang.ProcessBuilder.Redirect import java.util.logging.Handler import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import javax.crypto.SecretKey import javax.net.ssl.SSLSession import javax.net.ssl.SSLSocket import okhttp3.Call import okhttp3.Connection import okhttp3.ConnectionSpec
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0)