Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for LogEvent (0.4 sec)

  1. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerLoggingProtocol.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.process.internal.worker;
    
    import org.gradle.internal.logging.events.LogEvent;
    import org.gradle.internal.logging.events.OutputEventListener;
    import org.gradle.internal.logging.events.StyledTextOutputEvent;
    import org.gradle.process.internal.worker.child.WorkerLoggingProtocol;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 05 07:51:48 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

        route: Route,
        call: Call,
      ) {
        logEvent(ConnectionEvent.ConnectEnd(System.nanoTime(), connection, route, call))
      }
    
      override fun connectionClosed(connection: Connection) = logEvent(ConnectionEvent.ConnectionClosed(System.nanoTime(), connection))
    
      override fun connectionAcquired(
        connection: Connection,
        call: Call,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLogger.java

            LogEvent logEvent = new LogEvent(clock.getCurrentTime(), name, logLevel, message, throwable, operationIdentifier);
            OutputEventListener outputEventListener = context.getOutputEventListener();
            try {
                outputEventListener.onOutput(logEvent);
            } catch (Throwable e) {
                // fall back to standard out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/LogEventDispatcherTest.groovy

            }
    
            then:
            0 * stdoutChain.onOutput(_)
            1 * stderrChain.onOutput(_) >> { args -> assert args[0].logLevel == LogLevel.ERROR }
        }
    
        LogEvent event(level) {
            LogEvent event = Stub(LogEvent)
            event.logLevel >> level
            return event
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java

                    && isLoggedEventType(TestLogEvent.STANDARD_OUT)) {
                logEvent(descriptor, TestLogEvent.STANDARD_OUT, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n");
            } else if (outputEvent.getDestination() == TestOutputEvent.Destination.StdErr
                    && isLoggedEventType(TestLogEvent.STANDARD_ERROR)) {
                logEvent(descriptor, TestLogEvent.STANDARD_ERROR, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

        private final String[] loggerNames;
    
        public ErrorToWarnRewritePolicy(final String[] loggerNames) {
            this.loggerNames = loggerNames;
        }
    
        @Override
        public LogEvent rewrite(final LogEvent event) {
            final String loggerName = event.getLoggerName();
            if (loggerName == null) {
                return event;
            }
            for (final String name : loggerNames) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressBroadcasterTest.groovy

            }
    
            where:
            eventType             | eventWithBuildOperationId                                              | eventWithFallbackBuildOperationId
            LogEvent              | new LogEvent(0, 'c', LogLevel.INFO, 'm', null, testOperationId)        | new LogEvent(0, 'c', LogLevel.INFO, 'm', null, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/GroupingProgressLogEventGenerator.java

                    return (OperationGroup) state;
                }
                current = state.parentProgressOp;
            }
            return null;
        }
    
        private static LogEvent spacerLine(long timestamp, String category) {
            return new LogEvent(timestamp, category, LogLevel.LIFECYCLE, "", null);
        }
    
        private static class OperationState {
            final @Nullable
            OperationIdentifier parentProgressOp;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 13:28:29 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/WorkerLogEventListener.java

                throw new IllegalStateException(getClass().getSimpleName() + " received an output event before the worker logging protocol object was set.");
            }
    
            if (event instanceof LogEvent) {
                loggingProtocol.sendOutputEvent((LogEvent) event);
            } else if (event instanceof StyledTextOutputEvent) {
                loggingProtocol.sendOutputEvent((StyledTextOutputEvent) event);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/BuildLogLevelFilterRendererTest.groovy

     */
    
    package org.gradle.internal.logging.console
    
    import org.gradle.api.logging.LogLevel
    import org.gradle.internal.logging.OutputSpecification
    import org.gradle.internal.logging.events.LogEvent
    import org.gradle.internal.logging.events.LogLevelChangeEvent
    import org.gradle.internal.logging.events.OutputEventListener
    import spock.lang.Subject
    
    @Subject(BuildLogLevelFilterRenderer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top