- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for setLevel (0.05 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
queue.addListener(listener, directExecutor()); queue.enqueue(THROWING_EVENT, "custom-label"); Logger logger = Logger.getLogger(ListenerCallQueue.class.getName()); logger.setLevel(Level.SEVERE); TestLogHandler logHandler = new TestLogHandler(); logger.addHandler(logHandler); try { queue.dispatch(); } finally { logger.removeHandler(logHandler); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
queue.addListener(listener, directExecutor()); queue.enqueue(THROWING_EVENT, "custom-label"); Logger logger = Logger.getLogger(ListenerCallQueue.class.getName()); logger.setLevel(Level.SEVERE); TestLogHandler logHandler = new TestLogHandler(); logger.addHandler(logHandler); try { queue.dispatch(); } finally { logger.removeHandler(logHandler); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K 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) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* deprecated). */ fun setLevel(level: Level) = apply { this.level = level } @JvmName("-deprecated_level") @Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "level"), level = DeprecationLevel.ERROR, ) fun getLevel(): Level = level @Throws(IOException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
realm = Config.getProperty("jcifs.smb1.http.basicRealm"); if (realm == null) realm = "jCIFS"; if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) { LogStream.setLevel( level ); } if( log.level > 2 ) { try { Config.store( log, "JCIFS PROPERTIES" ); } catch( IOException ioe ) { } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
if (realm == null) realm = "jCIFS"; defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain"); if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) { LogStream.setLevel( level ); } if( log.level > 2 ) { try { Config.store( log, "JCIFS PROPERTIES" ); } catch( IOException ioe ) { } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 22 03:57:31 UTC 2020 - 19.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
split(ComponentUtil.getFessConfig().getLoggingAppPackages(), ",") .of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> Configurator.setLevel(s, logLevel))); } public String getLogLevel() { return System.getProperty(Constants.FESS_LOG_LEVEL, Level.WARN.toString()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
<version>2.6.0</version> </dependency> ``` Configure basic logging like this: ```java HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor(); loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC); client.networkInterceptors().add(loggingInterceptor); ``` **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
MockResponse.Builder() .body("abc") .build(), ) client = client.newBuilder() .addNetworkInterceptor( HttpLoggingInterceptor() .setLevel(HttpLoggingInterceptor.Level.BODY), ) .build() val call = client.newCall( Request.Builder() .url(server.url("/")) .build(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2)