Skip to content

Commit

Permalink
missed references to meter provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kuba committed Sep 2, 2022
1 parent 7ed0408 commit 9a290c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion experimental/packages/api-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const loggerProvider = createLoggerProvider();
api.logs.setGlobalLoggerProvider(loggerProvider);
/* returns loggerProvider (no-op if a working provider has not been initialized) */
api.logs.getLoggerProvider();
/* returns a meter from the registered global meter provider (no-op if a working provider has not been initialized) */
/* returns a logger from the registered global logger provider (no-op if a working provider has not been initialized) */
const logger = api.logs.getLogger(name, version);

// logging an event in an instrumentation library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Global Utils', () => {
api2.logs.disable();
});

it('should change the global meter provider', () => {
it('should change the global logger provider', () => {
const original = api1.logs.getLoggerProvider();
const newLoggerProvider = new NoopLoggerProvider();
api1.logs.setGlobalLoggerProvider(newLoggerProvider);
Expand Down

0 comments on commit 9a290c0

Please sign in to comment.