- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 189 for slog (0.04 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go
} }) return nil, nil } func isAttr(t types.Type) bool { return analysisutil.IsNamedType(t, "log/slog", "Attr") } // shortName returns a name for the function that is shorter than FullName. // Examples: // // "slog.Info" (instead of "log/slog.Info") // "slog.Logger.With" (instead of "(*log/slog.Logger).With") func shortName(fn *types.Func) string { var r string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/vet/main.go
"golang.org/x/tools/go/analysis/passes/printf" "golang.org/x/tools/go/analysis/passes/shift" "golang.org/x/tools/go/analysis/passes/sigchanyzer" "golang.org/x/tools/go/analysis/passes/slog" "golang.org/x/tools/go/analysis/passes/stdmethods" "golang.org/x/tools/go/analysis/passes/stdversion" "golang.org/x/tools/go/analysis/passes/stringintconv" "golang.org/x/tools/go/analysis/passes/structtag"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/go/internal/test/flagdefs.go
"lostcancel": true, "methods": true, "nilfunc": true, "printf": true, "rangeloops": true, "shift": true, "sigchanyzer": true, "slog": true, "stdmethods": true, "stdversion": true, "stringintconv": true, "structtag": true, "testinggoroutine": true, "tests": true, "timeformat": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 2.2K bytes - Viewed (0) -
src/log/slog/attr_test.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package slog import ( "internal/testenv" "testing" "time" ) func TestAttrNoAlloc(t *testing.T) { testenv.SkipIfOptimizationOff(t) // Assign values just to make sure the compiler doesn't optimize away the statements. var ( i int64 u uint64 f float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 18:23:25 UTC 2024 - 1.4K bytes - Viewed (0) -
src/log/slog/attr.go
} // Group returns an Attr for a Group [Value]. // The first argument is the key; the remaining arguments // are converted to Attrs as in [Logger.Log]. // // Use Group to collect several key-value pairs under a single // key on a log line, or as the result of LogValue // in order to log a single value as multiple Attrs. func Group(key string, args ...any) Attr { return Attr{key, GroupValue(argsToAttrSlice(args)...)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 18:23:25 UTC 2024 - 2.5K bytes - Viewed (0) -
api/go1.22.txt
pkg go/version, func IsValid(string) bool #62039 pkg go/version, func Lang(string) string #62039 pkg html/template, const ErrJSTemplate //deprecated #61619 pkg io, method (*SectionReader) Outer() (ReaderAt, int64, int64) #61870 pkg log/slog, func SetLogLoggerLevel(Level) Level #62418 pkg math/big, method (*Rat) FloatPrec() (int, bool) #50489 pkg math/rand/v2, func ExpFloat64() float64 #61716 pkg math/rand/v2, func Float32() float32 #61716
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
src/log/slog/level_test.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package slog import ( "bytes" "flag" "strings" "testing" ) func TestLevelString(t *testing.T) { for _, test := range []struct { in Level want string }{ {0, "INFO"}, {LevelError, "ERROR"}, {LevelError + 2, "ERROR+2"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:44:14 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/vendor/modules.txt
golang.org/x/tools/go/analysis/passes/nilfunc golang.org/x/tools/go/analysis/passes/printf golang.org/x/tools/go/analysis/passes/shift golang.org/x/tools/go/analysis/passes/sigchanyzer golang.org/x/tools/go/analysis/passes/slog golang.org/x/tools/go/analysis/passes/stdmethods golang.org/x/tools/go/analysis/passes/stdversion golang.org/x/tools/go/analysis/passes/stringintconv golang.org/x/tools/go/analysis/passes/structtag
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 4.8K bytes - Viewed (0) -
src/log/slog/value_test.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package slog import ( "fmt" "reflect" "strings" "testing" "time" "unsafe" ) func TestKindString(t *testing.T) { if got, want := KindGroup.String(), "Group"; got != want { t.Errorf("got %q, want %q", got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
* * @param content the message to log * @param error the error that caused this log */ void debug(CharSequence content, Throwable error); /** * Sends an exception to the user in the <b>debug</b> error level. * The stack trace for this exception will be output when this error level is enabled. * * @param error the error that caused this log */ void debug(Throwable error);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 5.4K bytes - Viewed (0)