Documentation ¶
Index ¶
- type SWriter
- func (x *SWriter) Close() error
- func (x *SWriter) Handler() slog.Handler
- func (x *SWriter) Log(lv mlog.Level, args ...any) error
- func (x *SWriter) LogDepth(calldepth int, lv mlog.Level, args ...any) error
- func (x *SWriter) LogDepthf(calldepth int, lv mlog.Level, format string, args ...any) error
- func (x *SWriter) LogDepthr(calldepth int, lv mlog.Level, r io.Reader) error
- func (x *SWriter) Logf(lv mlog.Level, format string, args ...any) error
- func (x *SWriter) Logr(lv mlog.Level, r io.Reader) error
- type SlogHandle
- type Writer
- func (x *Writer) Close() error
- func (x Writer) Log(lv mlog.Level, args ...any) error
- func (x Writer) LogDepth(calldepth int, lv mlog.Level, args ...any) error
- func (x Writer) LogDepthf(calldepth int, lv mlog.Level, format string, args ...any) error
- func (x Writer) LogDepthr(calldepth int, lv mlog.Level, r io.Reader) error
- func (x Writer) Logf(lv mlog.Level, format string, args ...any) error
- func (x Writer) Logr(lv mlog.Level, r io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SWriter ¶
type SWriter struct {
// contains filtered or unexported fields
}
func NewJsonWriter ¶
type SlogHandle ¶
Click to show internal directories.
Click to hide internal directories.