Documentation ¶
Index ¶
- func NewAudit2Logger(logger audit2log.Logger, registry metrics.Registry) audit2log.Logger
- func NewDiag1Logger(logger diag1log.Logger, registry metrics.Registry) diag1log.Logger
- func NewEvt2Logger(logger evt2log.Logger, registry metrics.Registry) evt2log.Logger
- func NewMetric1Logger(logger metric1log.Logger, registry metrics.Registry) metric1log.Logger
- func NewMetricWriter(writer io.Writer, registry metrics.Registry, slsFilename string) io.Writer
- func NewReq2Logger(logger req2log.Logger, registry metrics.Registry) req2log.Logger
- func NewSvc1Logger(logger svc1log.Logger, registry metrics.Registry) svc1log.Logger
- func NewTrc1Logger(logger trc1log.Logger, registry metrics.Registry) trc1log.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAudit2Logger ¶
func NewDiag1Logger ¶
func NewEvt2Logger ¶
func NewMetric1Logger ¶
func NewMetric1Logger(logger metric1log.Logger, registry metrics.Registry) metric1log.Logger
func NewMetricWriter ¶
NewMetricWriter returns a MetricWriter that delegates to writer, and records SLS log line length according to the provided slsFilename, e.g. "service", or "trace". If registry is nil, then no metrics are recorded.
func NewReq2Logger ¶
func NewSvc1Logger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.