theRAPTLab / gsgo

GEM-STEP Foundation repo migrated from GitLab June 2023
1 stars 1 forks source link

Updated URSYS ClientLog Module (+HMR warning fix) - [merged] #717

Closed benloh closed 1 year ago

benloh commented 2 years ago

In GitLab by @daveseah on Sep 13, 2022, 16:11

Merges dev-sri/client-logger -> dev-next

This is a Developer Support Merge Request

BEHIND THE SCENES

DEVELOPMENT NOTE

type function LogEnabled( optSet ?: boolean ) => boolean;
benloh commented 2 years ago

In GitLab by @daveseah on Sep 13, 2022, 16:17

added 1 commit

Compare with previous version

benloh commented 2 years ago

marked this merge request as ready

benloh commented 2 years ago

mentioned in commit ad478cd35c45d036e46895fc7c47b2ae49ed6386

benloh commented 2 years ago

BUG: client-logger.js uses the SendMessage method, but it is not defined in client-logger (This used to work because the SendMessage call for LogEvent and LogJSON were being made in index-client.js).

benloh commented 2 years ago

@daveseah How should SendMessage be passed to client-logger? We can't require './index-client without causing a circular dependency. Add an init? Somehow pass UR?

benloh commented 2 years ago

In GitLab by @daveseah on Sep 19, 2022, 13:37

I should move LocalNode into its own module instead of having it floating in index-client, so then it can be safely cross-imported.