Skip to content

Commit

Permalink
log common-code and phet-io query parameters in all sims that I'm res…
Browse files Browse the repository at this point in the history
…ponsible for
  • Loading branch information
pixelzoom committed Feb 24, 2021
1 parent fe48d48 commit 5d99494
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/common/GasPropertiesQueryParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @author Chris Malley (PixelZoom, Inc.)
*/

import logGlobal from '../../../phet-core/js/logGlobal.js';
import gasProperties from '../gasProperties.js';

const GasPropertiesQueryParameters = QueryStringMachine.getAll( {
Expand Down Expand Up @@ -82,7 +83,9 @@ const GasPropertiesQueryParameters = QueryStringMachine.getAll( {

gasProperties.register( 'GasPropertiesQueryParameters', GasPropertiesQueryParameters );

// log the values of all sim-specific query parameters
phet.log && phet.log( 'query parameters: ' + JSON.stringify( GasPropertiesQueryParameters, null, 2 ) );
// Log query parameters
logGlobal( 'phet.chipper.queryParameters' );
logGlobal( 'phet.preloads.phetio.queryParameters' );
logGlobal( 'phet.gasProperties.GasPropertiesQueryParameters' );

export default GasPropertiesQueryParameters;

0 comments on commit 5d99494

Please sign in to comment.