Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getLevel (0.17 sec)

  1. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

            for (final String name : loggerNames) {
                if (loggerName.startsWith(name)) {
                    final Level sourceLevel = event.getLevel();
                    if (sourceLevel != Level.ERROR) {
                        return event;
                    }
                    return new Log4jLogEvent.Builder(event).setLevel(Level.WARN).build();
                }
            }
            return event;
        }
    
        @PluginFactory
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

         *            例外
         */
        public void log(final LogMessage logMessage, final Throwable throwable) {
            assertArgumentNotNull("logMessage", logMessage);
    
            final LogLevel level = logMessage.getLevel();
            if (isEnabledFor(level)) {
                final String message = logMessage.getMessage();
                switch (level) {
                case DEBUG:
                    log.debug(message, throwable);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 4.5K bytes
    - Viewed (1)
  4. 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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        headers = Headers.of(mapOf("" to ""))
        val size: Int = headers.size()
      }
    
      @Test @Disabled
      fun httpLoggingInterceptor() {
        val interceptor = HttpLoggingInterceptor()
        val level = interceptor.getLevel()
      }
    
      @Test @Disabled
      fun httpUrl() {
        val httpUrl: HttpUrl = HttpUrl.get("")
        val url: URL = httpUrl.url()
        val uri: URI = httpUrl.uri()
        val scheme: String = httpUrl.scheme()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    currentLogLevel; private String prefix; private static String getStringProperty(String); private static String getStringProperty(String, String); private static boolean getBooleanProperty(String, boolean); public void SimpleLog(String); public void setLevel(int); public int getLevel(); protected void log(int, Object, Throwable); protected boolean isLevelEnabled(int); public final void debug(Object); public final void debug(Object, Throwable); public final void trace(Object); public final void trace(Object, Throwable);...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

    private String shortLogName; private static String getStringProperty(String); private static String getStringProperty(String, String); private static boolean getBooleanProperty(String, boolean); public void SimpleLog(String); public void setLevel(int); public int getLevel(); protected void log(int, Object, Throwable); protected void write(StringBuffer); protected boolean isLevelEnabled(int); public final void debug(Object); public final void debug(Object, Throwable); public final void trace(Object); public...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 37.1K bytes
    - Viewed (0)
  8. 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(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  9. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. 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 {
    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)
Back to top