Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLocalProviders ¶ added in v2.2.0
func InitLocalProviders()
func LocalErrorReportingProvider ¶ added in v2.6.0
func LocalErrorReportingProvider() interface{}
func LocalHttpContextProvider ¶ added in v2.6.0
func LocalHttpContextProvider() interface{}
func LocalLoggingProvider ¶ added in v2.6.0
func LocalLoggingProvider() interface{}
func LocalMetricsProvider ¶ added in v2.6.0
func LocalMetricsProvider() interface{}
Types ¶
type LocalErrorReportingProviderImpl ¶ added in v2.2.0
type LocalErrorReportingProviderImpl struct {
// contains filtered or unexported fields
}
func (*LocalErrorReportingProviderImpl) Close ¶ added in v2.2.0
func (er *LocalErrorReportingProviderImpl) Close() error
func (*LocalErrorReportingProviderImpl) ReportError ¶ added in v2.2.0
func (er *LocalErrorReportingProviderImpl) ReportError(e error)
type LocalLoggingProviderImpl ¶ added in v2.2.0
type LocalLoggingProviderImpl struct {
// contains filtered or unexported fields
}
func (*LocalLoggingProviderImpl) Close ¶ added in v2.2.0
func (l *LocalLoggingProviderImpl) Close() error
func (*LocalLoggingProviderImpl) Log ¶ added in v2.2.0
func (l *LocalLoggingProviderImpl) Log(msg string, keyValuePairs ...string)
func (*LocalLoggingProviderImpl) LogWithLevel ¶ added in v2.2.0
func (l *LocalLoggingProviderImpl) LogWithLevel(lvl provider.Severity, msg string, keyValuePairs ...string)
type LocalProviderImpl ¶ added in v2.2.0
type LocalProviderImpl struct {
}
func (*LocalProviderImpl) Close ¶ added in v2.2.0
func (c *LocalProviderImpl) Close() error
func (*LocalProviderImpl) Meter ¶ added in v2.2.0
func (m *LocalProviderImpl) Meter(ctx context.Context, metric string, args ...string)
func (*LocalProviderImpl) NewHttpContext ¶ added in v2.2.0
func (c *LocalProviderImpl) NewHttpContext(req *h.Request) context.Context
Click to show internal directories.
Click to hide internal directories.