- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for setLevel (0.06 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
private val applicationInterceptor = HttpLoggingInterceptor(applicationLogs) private var extraNetworkInterceptor: Interceptor? = null private fun setLevel(level: Level) { networkInterceptor.setLevel(level) applicationInterceptor.setLevel(level) } @BeforeEach fun setUp(server: MockWebServer) { this.server = server client = OkHttpClient.Builder() .addNetworkInterceptor(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0) -
okhttp-logging-interceptor/README.md
```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 1.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
LogStream.setLevel(4); } else if (logger.isDebugEnabled()) { LogStream.setLevel(3); } else if (logger.isWarnEnabled()) { LogStream.setLevel(2); } else if (logger.isErrorEnabled()) { LogStream.setLevel(1); } else { LogStream.setLevel(0); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
Logger rootLogger = Logger.getLogger(""); rootLogger.setLevel(Level.ALL); ConsoleHandler handler = new ConsoleHandler(); handler.setFormatter(new SimpleFormatter()); handler.setLevel(Level.ALL); rootLogger.addHandler(handler); } @Override public void tearDown() throws Exception {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestLogHandler.kt
override fun beforeEach(context: ExtensionContext?) { previousLevel = logger.level logger.addHandler(handler) logger.setLevel(Level.FINEST) } override fun afterEach(context: ExtensionContext?) { logger.setLevel(previousLevel) logger.removeHandler(handler) } override fun apply( base: Statement, description: Description, ): Statement {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public final fun getLevel ()Lokhttp3/logging/HttpLoggingInterceptor$Level; public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response; public final fun level (Lokhttp3/logging/HttpLoggingInterceptor$Level;)V public final fun redactHeader (Ljava/lang/String;)V public final fun redactQueryParams ([Ljava/lang/String;)V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
*/ public void testEmptyServiceManager() { Logger logger = Logger.getLogger(ServiceManager.class.getName()); logger.setLevel(Level.FINEST); TestLogHandler logHandler = new TestLogHandler(); logger.addHandler(logHandler); ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 25.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
) { var logMessage = message if (stackTrace == null) { logMessage += " To see where this was allocated, set the OkHttpClient logger level to " + "FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);" } log(logMessage, WARN, stackTrace as Throwable?) } open fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0)