Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoggingOutputStream (0.62 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

    import java.util.function.Consumer;
    
    public class LoggingOutputStream extends FilterOutputStream {
    
        static final byte[] LINE_SEP = System.lineSeparator().getBytes();
    
        final EolBaos buf;
        final Consumer<String> consumer;
    
        public LoggingOutputStream(Consumer<String> consumer) {
            this(new EolBaos(), consumer);
        }
    
        LoggingOutputStream(EolBaos out, Consumer<String> consumer) {
            super(out);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 12:31:43 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            PrintStream psOut = new LoggingOutputStream(s -> stdout.info("[stdout] " + s)).printStream();
            context.closeables.add(() -> LoggingOutputStream.forceFlush(psOut));
            PrintStream psErr = new LoggingOutputStream(s -> stderr.warn("[stderr] " + s)).printStream();
            context.closeables.add(() -> LoggingOutputStream.forceFlush(psErr));
            System.setOut(psOut);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top