-
Notifications
You must be signed in to change notification settings - Fork 953
Open
2 / 42 of 4 issues completedLabels
never-stalepkg:api-logstype:featureA feature with no sub-issues to addressA feature with no sub-issues to address
Milestone
Description
Description
The @opentelemetry/api-logs package currently exports a few types that we might be able to make internal. The goal of this issue is to identify these and then remove them where possible to minimize the API surface.
Examples of types that we may be able to remove from exports are:
- No-op implementations
- Proxying implementations
This issue is considered done when:
- unnecessary exports have been removed
Addtional context
Currently exported Types
opentelemetry-js/experimental/packages/api-logs/src/index.ts
Lines 17 to 29 in 22bc5ba
| export type { Logger } from './types/Logger'; | |
| export type { LoggerProvider } from './types/LoggerProvider'; | |
| export { SeverityNumber } from './types/LogRecord'; | |
| export type { LogAttributes, LogBody, LogRecord } from './types/LogRecord'; | |
| export type { LoggerOptions } from './types/LoggerOptions'; | |
| export type { AnyValue, AnyValueMap } from './types/AnyValue'; | |
| export { NOOP_LOGGER, NoopLogger } from './NoopLogger'; | |
| export { NOOP_LOGGER_PROVIDER, NoopLoggerProvider } from './NoopLoggerProvider'; | |
| export { ProxyLogger } from './ProxyLogger'; | |
| export { ProxyLoggerProvider } from './ProxyLoggerProvider'; | |
| import { LogsAPI } from './api/logs'; | |
| export const logs = LogsAPI.getInstance(); |
Sub-issues
Metadata
Metadata
Assignees
Labels
never-stalepkg:api-logstype:featureA feature with no sub-issues to addressA feature with no sub-issues to address