Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for syslog (0.14 sec)

  1. src/log/slog/doc.go

    incorrect source information for functions that wrap slog. For instance, if you
    define this function in file mylog.go:
    
    	func Infof(logger *slog.Logger, format string, args ...any) {
    	    logger.Info(fmt.Sprintf(format, args...))
    	}
    
    and you call it like this in main.go:
    
    	Infof(slog.Default(), "hello, %s", "world")
    
    then slog will report the source file as mylog.go, not main.go.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/testing/slogtest/slogtest.go

    			l.Info("msg", "a", "b", slog.Group("G", slog.String("c", "d")), "e", "f")
    		},
    		checks: []check{
    			hasAttr("a", "b"),
    			inGroup("G", hasAttr("c", "d")),
    			hasAttr("e", "f"),
    		},
    	},
    	{
    		name:        "empty-group",
    		explanation: withSource("a Handler should ignore an empty group"),
    		f: func(l *slog.Logger) {
    			l.Info("msg", "a", "b", slog.Group("G"), "e", "f")
    		},
    		checks: []check{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InternetDomainName.java

       * #isPublicSuffix() public suffix}. For example, for {@code x.adwords.google.co.uk} it returns
       * {@code google.co.uk}, since {@code co.uk} is a public suffix. Similarly, for {@code
       * myblog.blogspot.com} it returns the same domain, {@code myblog.blogspot.com}, since {@code
       * blogspot.com} is a public suffix.
       *
       * <p>If {@link #isTopPrivateDomain()} is true, the current domain name instance is returned.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

       * #isPublicSuffix() public suffix}. For example, for {@code x.adwords.google.co.uk} it returns
       * {@code google.co.uk}, since {@code co.uk} is a public suffix. Similarly, for {@code
       * myblog.blogspot.com} it returns the same domain, {@code myblog.blogspot.com}, since {@code
       * blogspot.com} is a public suffix.
       *
       * <p>If {@link #isTopPrivateDomain()} is true, the current domain name instance is returned.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. src/log/slog/logger.go

    //
    //	slog.SetLogLoggerLevel(slog.LevelDebug)
    //
    // calls to [Debug] will be passed to the log.Logger.
    //
    // After [SetDefault] is called, calls to the default [log.Logger] are passed to the
    // slog default handler. In that mode,
    // SetLogLoggerLevel sets the level at which those calls are logged.
    // That is, after calling
    //
    //	slog.SetLogLoggerLevel(slog.LevelDebug)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    				result += "-" + r1.String() + r.a.String()
    			}
    		}
    		result += "}"
    	}
    	return fmt.Sprintf("%s[%d]", result, r.index)
    }
    
    type sysOp struct {
    	op          sysInstFields
    	r           Reg
    	hasOperand2 bool
    }
    
    func (s sysOp) isArg() {}
    
    func (s sysOp) String() string {
    	result := s.op.String()
    	// If s.hasOperand2 is false, the value in the register
    	// specified by s.r is ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    org/apache/maven/plugin/AbstractMojo.class package org.apache.maven.plugin; public abstract synchronized class AbstractMojo implements Mojo, ContextEnabled { private logging.Log log; private java.util.Map pluginContext; public void AbstractMojo(); public void setLog(logging.Log); public logging.Log getLog(); public java.util.Map getPluginContext(); public void setPluginContext(java.util.Map); } org/apache/maven/plugin/AbstractMojoExecutio.class package org.apache.maven.plugin; public abstract synchronized class...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 23 23:48:02 UTC 2009
    - 9.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    org/apache/maven/plugin/AbstractMojo.class package org.apache.maven.plugin; public abstract synchronized class AbstractMojo implements Mojo, ContextEnabled { private logging.Log log; private java.util.Map pluginContext; public void AbstractMojo(); public void setLog(logging.Log); public logging.Log getLog(); public java.util.Map getPluginContext(); public void setPluginContext(java.util.Map); } org/apache/maven/plugin/AbstractMojoExecutio.class package org.apache.maven.plugin; public abstract synchronized class...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/writebarrier.go

    			initpos := f.Entry.Pos
    			sp, sb = f.spSb()
    			wbsym := f.fe.Syslook("writeBarrier")
    			wbaddr = f.Entry.NewValue1A(initpos, OpAddr, f.Config.Types.UInt32Ptr, wbsym, sb)
    			wbZero = f.fe.Syslook("wbZero")
    			wbMove = f.fe.Syslook("wbMove")
    			if buildcfg.Experiment.CgoCheck2 {
    				cgoCheckPtrWrite = f.fe.Syslook("cgoCheckPtrWrite")
    				cgoCheckMemmove = f.fe.Syslook("cgoCheckMemmove")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  10. src/log/slog/handler.go

    	// at the end of the log event. That is,
    	//
    	//     logger.WithGroup("s").LogAttrs(ctx, level, msg, slog.Int("a", 1), slog.Int("b", 2))
    	//
    	// should behave like
    	//
    	//     logger.LogAttrs(ctx, level, msg, slog.Group("s", slog.Int("a", 1), slog.Int("b", 2)))
    	//
    	// If the name is empty, WithGroup returns the receiver.
    	WithGroup(name string) Handler
    }
    
    type defaultHandler struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top