diff options
author | Jonathan Amsterdam <jba@google.com> | 2023-07-06 13:06:44 -0400 |
---|---|---|
committer | Jonathan Amsterdam <jba@google.com> | 2023-07-11 16:33:46 +0000 |
commit | 3f8b04bfb541127704ec5c33a52294fe3c6ebea4 (patch) | |
tree | dde0cf6c082e7d8ff9bcd6be10e780c72d02f39a /api | |
parent | 4c58d6bf52b87628d0a73041af61e58eed84a310 (diff) | |
download | go-3f8b04bfb541127704ec5c33a52294fe3c6ebea4.tar.gz go-3f8b04bfb541127704ec5c33a52294fe3c6ebea4.zip |
log/slog: change XXXCtx functions to XXXContext
Fixes #61200.
Change-Id: I3071dbf673bcd2d24e62644b40d481c953703978
Reviewed-on: https://go-review.googlesource.com/c/go/+/508195
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/go1.21.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/api/go1.21.txt b/api/go1.21.txt index c8ca3df2e6..def0fa84e4 100644 --- a/api/go1.21.txt +++ b/api/go1.21.txt @@ -219,18 +219,18 @@ pkg log/slog, func Any(string, interface{}) Attr #56345 pkg log/slog, func AnyValue(interface{}) Value #56345 pkg log/slog, func Bool(string, bool) Attr #56345 pkg log/slog, func BoolValue(bool) Value #56345 -pkg log/slog, func DebugCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, func DebugContext(context.Context, string, ...interface{}) #61200 pkg log/slog, func Debug(string, ...interface{}) #56345 pkg log/slog, func Default() *Logger #56345 pkg log/slog, func Duration(string, time.Duration) Attr #56345 pkg log/slog, func DurationValue(time.Duration) Value #56345 -pkg log/slog, func ErrorCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, func ErrorContext(context.Context, string, ...interface{}) #61200 pkg log/slog, func Error(string, ...interface{}) #56345 pkg log/slog, func Float64(string, float64) Attr #56345 pkg log/slog, func Float64Value(float64) Value #56345 pkg log/slog, func Group(string, ...interface{}) Attr #59204 pkg log/slog, func GroupValue(...Attr) Value #56345 -pkg log/slog, func InfoCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, func InfoContext(context.Context, string, ...interface{}) #61200 pkg log/slog, func Info(string, ...interface{}) #56345 pkg log/slog, func Int64(string, int64) Attr #56345 pkg log/slog, func Int64Value(int64) Value #56345 @@ -250,7 +250,7 @@ pkg log/slog, func Time(string, time.Time) Attr #56345 pkg log/slog, func TimeValue(time.Time) Value #56345 pkg log/slog, func Uint64(string, uint64) Attr #56345 pkg log/slog, func Uint64Value(uint64) Value #56345 -pkg log/slog, func WarnCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, func WarnContext(context.Context, string, ...interface{}) #61200 pkg log/slog, func Warn(string, ...interface{}) #56345 pkg log/slog, func With(...interface{}) *Logger #56345 pkg log/slog, method (Attr) Equal(Attr) bool #56345 @@ -271,17 +271,17 @@ pkg log/slog, method (*LevelVar) MarshalText() ([]uint8, error) #56345 pkg log/slog, method (*LevelVar) Set(Level) #56345 pkg log/slog, method (*LevelVar) String() string #56345 pkg log/slog, method (*LevelVar) UnmarshalText([]uint8) error #56345 -pkg log/slog, method (*Logger) DebugCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, method (*Logger) DebugContext(context.Context, string, ...interface{}) #61200 pkg log/slog, method (*Logger) Debug(string, ...interface{}) #56345 pkg log/slog, method (*Logger) Enabled(context.Context, Level) bool #56345 -pkg log/slog, method (*Logger) ErrorCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, method (*Logger) ErrorContext(context.Context, string, ...interface{}) #61200 pkg log/slog, method (*Logger) Error(string, ...interface{}) #56345 pkg log/slog, method (*Logger) Handler() Handler #56345 -pkg log/slog, method (*Logger) InfoCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, method (*Logger) InfoContext(context.Context, string, ...interface{}) #61200 pkg log/slog, method (*Logger) Info(string, ...interface{}) #56345 pkg log/slog, method (*Logger) LogAttrs(context.Context, Level, string, ...Attr) #56345 pkg log/slog, method (*Logger) Log(context.Context, Level, string, ...interface{}) #56345 -pkg log/slog, method (*Logger) WarnCtx(context.Context, string, ...interface{}) #56345 +pkg log/slog, method (*Logger) WarnContext(context.Context, string, ...interface{}) #61200 pkg log/slog, method (*Logger) Warn(string, ...interface{}) #56345 pkg log/slog, method (*Logger) WithGroup(string) *Logger #56345 pkg log/slog, method (*Logger) With(...interface{}) *Logger #56345 |