export function logRedux ( action ) { if ( process . env . NODE_ENV === "development" ) { console . log ( "\n------------------------------------" ) ; console . log ( "action.type" , action . type ) ; console . log ( "action.payload" , action . payload ) ; console . log ( "------------------------------------\n" ) ; } } export function logMsg ( ... messages ) { if ( process . env . NODE_ENV === "development" ) { console . log ( ... messages ) ; } } export function assignToWindow ( name , value ) { if ( process . env . NODE_ENV === "development" ) { window [ name ] = value ; } }