Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setlogin (0.12 sec)

  1. internal/logger/target/testlogger/testlogger.go

    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    	current atomic.Pointer[testing.TB]
    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    // Call the returned function to disable logging.
    func (t *testLogger) SetLogTB(tb testing.TB) func() {
    	return t.setTB(tb, logMessage)
    }
    
    // SetErrorTB will set the logger to output to tb.Error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoExecutionException or MojoFailureException if error conditions occur.<br>
     * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    @ThreadSafe
    public interface Mojo {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. internal/grid/connection_test.go

    import (
    	"context"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func TestDisconnect(t *testing.T) {
    	defer testlogger.T.SetLogTB(t)()
    	defer timeout(10 * time.Second)()
    	hosts, listeners, _ := getHosts(2)
    	dialer := &net.Dialer{
    		Timeout: 1 * time.Second,
    	}
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	"os"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func TestSingleRoundtrip(t *testing.T) {
    	defer testlogger.T.SetLogTB(t)()
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(2)
    	errFatal(err)
    	remoteHost := grid.Hosts[1]
    	local := grid.Managers[0]
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

        private Log log;
    
        /** Plugin container context */
        private Map pluginContext;
    
        /**
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        @Override
        public void setLog(Log log) {
            this.log = log;
        }
    
        /**
         * <p>
         * Returns the logger that has been injected into this mojo. If no logger has been setup yet, a
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.requiredJavaVersion = requiredJavaVersion;
        }
    
        public String getRequiredJavaVersion() {
            return requiredJavaVersion;
        }
    
        public void setPlugin(Plugin plugin) {
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    
        public Artifact getPluginArtifact() {
            return pluginArtifact;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top