-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
How are you using the @globus/sdk?
Client-side JavaScript (e.g. Browser)
Current and expected behavior
I initialise the logger as follows, in a React single page app :
import { authorization, logger } from "@globus/sdk";
logger.setLogger(console)
logger.setLogLevel('debug')
It has no effect, i.e. no log message appear in the browser console, despite multiple calls to the API.
Lookin at the code (authenticationManager, etc, I see plenty of logging messages, ex: log('debug', 'AuthorizationManager.handleCodeRedirect') that I should be seeing in the console.
Environment
System:
OS: Linux 6.8 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
pnpm: 9.12.1 - ~/.nvm/versions/node/v18.16.1/bin/pnpm
Possible solution
No response
Additional context
No response