- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for adsHandler (0.16 sec)
-
istioctl/pkg/admin/istiodconfig_test.go
switch request.Method { case http.MethodGet: _, _ = writer.Write([]byte(getResponse)) } } func adsHandler(writer http.ResponseWriter, request *http.Request) { const getResponse = `{"name":"ads","description":"ads debugging","output_level":"info","stack_trace_level":"none","log_callers":false}` switch request.Method {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 6.2K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestLogHandler.kt
} override fun close() { } } private var previousLevel: Level? = null 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(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler); ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional stack.addTearDown( new TearDown() { @Override public void tearDown() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() {
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/OkHttpDebugLogging.kt
} fun enable( loggerClass: String, handler: Handler = logHandler(), ): Closeable { val logger = Logger.getLogger(loggerClass) if (configuredLoggers.add(logger)) { logger.addHandler(handler) logger.level = Level.FINEST } return Closeable { logger.removeHandler(handler) } } fun enable(loggerClass: KClass<*>) = enable(loggerClass.java.name)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
logger.level = when { Log.isLoggable(tag, Log.DEBUG) -> Level.FINE Log.isLoggable(tag, Log.INFO) -> Level.INFO else -> Level.WARNING } logger.addHandler(AndroidLogHandler) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler); ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional stack.addTearDown( new TearDown() { @Override public void tearDown() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
* * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 20:53:25 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
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 { super.tearDown(); // close runner runner.close(); // delete all files
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0)