Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 859 for logging (0.11 sec)

  1. 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 {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  2. cmd/consolelogger.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Log4j2Configuration.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.logging.impl;
    
    import org.apache.maven.cli.logging.BaseSlf4jConfiguration;
    
    /**
     * Configuration for slf4j-log4j2.
     *
     * @since 3.1.0
     */
    public class Log4j2Configuration extends BaseSlf4jConfiguration {
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java

     * under the License.
     */
    package org.apache.maven.cli.logging;
    
    import org.codehaus.plexus.logging.Logger;
    import org.codehaus.plexus.logging.LoggerManager;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.LoggerFactory;
    
    /**
     * Use an SLF4J {@link org.slf4j.ILoggerFactory} as a backing for a Plexus
     * {@link org.codehaus.plexus.logging.LoggerManager},
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. fastapi/logger.py

    import logging
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Dec 09 19:02:44 UTC 2019
    - 54 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

     */
    package org.codelibs.core.log;
    
    import java.util.logging.Level;
    
    /**
     * java.util.logのロガーを利用するアダプタです。
     *
     * @author koichik
     */
    class JulLoggerAdapter implements LoggerAdapter {
    
        protected final String sourceClass;
    
        protected final java.util.logging.Logger logger;
    
        public JulLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. internal/logger/target/testlogger/testlogger.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package testlogger contains an autoregistering logger that can be used to capture logging events
    // for individual tests.
    // This package should only be included by test files.
    // To enable logging for a test, use:
    //
    //	func TestSomething(t *testing.T) {
    //		defer testlogger.T.SetLogTB(t)()
    //
    // This cannot be used for parallel tests.
    package testlogger
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

     * under the License.
     */
    package org.apache.maven.cli.logging;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Enumeration;
    import java.util.Properties;
    
    import org.apache.maven.cli.logging.impl.UnsupportedSlf4jBindingConfiguration;
    import org.slf4j.ILoggerFactory;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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 {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
Back to top