- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 730 for Dlog (0.04 sec)
-
src/runtime/debuglog_test.go
runtime.Dlog().I(i).S(longString).End() fmt.Fprintf(&want, "[] %d %s\n", i, longString) } log := runtime.DumpDebugLog() // Check for "lost" message. lost := regexp.MustCompile(`^>> begin log \d+; lost first \d+KB <<\n`) if !lost.MatchString(log) { t.Fatalf("want matching %s, got %q", lost, log) } idx := lost.FindStringIndex(log) // Strip lost message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K bytes - Viewed (0) -
src/runtime/export_debuglog_test.go
// Export debuglog guts for testing. package runtime const DlogEnabled = dlogEnabled const DebugLogBytes = debugLogBytes const DebugLogStringLimit = debugLogStringLimit var Dlog = dlog func (l *dlogger) End() { l.end() } func (l *dlogger) B(x bool) *dlogger { return l.b(x) } func (l *dlogger) I(x int) *dlogger { return l.i(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 16:49:45 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/vet/testdata/slog/slog.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 338 bytes - Viewed (0) -
pkg/log/klog.go
// limitations under the License. package log import ( goflag "flag" "fmt" "sync" "github.com/spf13/pflag" "k8s.io/klog/v2" ) var ( KlogScope = RegisterScope("klog", "") configureKlog = sync.Once{} ) // EnableKlogWithCobra enables klog to work with cobra / pflags. // k8s libraries like client-go use klog. func EnableKlogWithCobra() { gf := klogVerboseFlag()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.1K bytes - Viewed (0) -
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) -
operator/pkg/util/clog/clog.go
stdOut io.Writer stdErr io.Writer scope *log.Scope } // NewConsoleLogger creates a new logger and returns a pointer to it. // stdOut and stdErr can be used to capture output for testing. If scope is nil, the default scope is used. func NewConsoleLogger(stdOut, stdErr io.Writer, scope *log.Scope) *ConsoleLogger { s := scope if s == nil { s = log.RegisterScope(log.DefaultScopeName, log.DefaultScopeName) } return &ConsoleLogger{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.6K bytes - Viewed (0) -
tools/bug-report/pkg/testdata/input/format_json.log
Siyi Wang <******@****.***> 1684532673 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 19 21:44:33 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/registry/core/pod/rest/log.go
) // LogREST implements the log endpoint for a Pod type LogREST struct { KubeletConn client.ConnectionInfoGetter Store *genericregistry.Store } // LogREST implements GetterWithOptions var _ = rest.GetterWithOptions(&LogREST{}) // New creates a new Pod log options object func (r *LogREST) New() runtime.Object { // TODO - return a resource that represents a log return &api.Pod{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 24 10:50:43 UTC 2023 - 4.4K bytes - Viewed (0) -
tools/bug-report/pkg/testdata/input/format_txt.log
Siyi Wang <******@****.***> 1684532673 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 19 21:44:33 UTC 2023 - 1.2K bytes - Viewed (0) -
tools/bug-report/pkg/testdata/output/format_txt_with_time_filter.log
Siyi Wang <******@****.***> 1684532673 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 19 21:44:33 UTC 2023 - 578 bytes - Viewed (0)