Documentation
¶
Index ¶
- Constants
- Variables
- type Google
- func (g *Google) AutoFlush() chan bool
- func (g *Google) Enabled(ctx context.Context, level slog.Level) bool
- func (g *Google) Flush() error
- func (g *Google) Handle(ctx context.Context, record slog.Record) error
- func (g *Google) Print(ctx context.Context, main Line)
- func (g *Google) WithAttrs(attrs []slog.Attr) slog.Handler
- func (g *Google) WithGroup(name string) slog.Handler
- type Line
- type Opts
Constants ¶
View Source
const (
DefaultGoogleAutoFlushInterval = 500
)
Variables ¶
View Source
var (
ErrUninitializedLogger = errors.New("uninitialized logger error")
)
Functions ¶
This section is empty.
Types ¶
type Google ¶
Click to show internal directories.
Click to hide internal directories.