Skip to content

Move getPreDefinedConfiguration() method to 'src\client\logging\_global.ts' #12137

Description

@karrtikr

In #11897 we've added getPreDefinedConfiguration() to src/client/logging/logger.ts. The function deals with global state so it belongs in _global.ts. However, we had ran into trouble when we moved it to _global.ts. (Adding import '../client/logging/_global'; to src/test/testLogger.ts, to force creating the global logger, caused the aliases in src/client/logging/index.ts to all be undefined when imported anywhere else under src/client.)

We need to figure out how to get it to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-internalLabel for non-user facing issuesdebtCode quality issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions