mirror of https://github.com/databricks/cli.git
clean up
This commit is contained in:
parent
e0dda22fe9
commit
fab3c805fb
|
@ -31,12 +31,6 @@ type friendlyHandler struct {
|
||||||
levelError string
|
levelError string
|
||||||
}
|
}
|
||||||
|
|
||||||
// groupOrAttrs holds either a group name or a list of slog.Attrs.
|
|
||||||
type groupOrAttrs struct {
|
|
||||||
group string // group name if non-empty
|
|
||||||
attrs []slog.Attr // attrs if non-empty
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFriendlyHandler(out io.Writer, opts *Options) slog.Handler {
|
func NewFriendlyHandler(out io.Writer, opts *Options) slog.Handler {
|
||||||
h := &friendlyHandler{out: out, mu: &sync.Mutex{}}
|
h := &friendlyHandler{out: out, mu: &sync.Mutex{}}
|
||||||
if opts != nil {
|
if opts != nil {
|
||||||
|
|
Loading…
Reference in New Issue