import * as M from '@meetalva/message' ; import { MessageHandlerContext , MessageHandler } from '../create-handlers' ; export function log ( _ ) { return m => { if ( Array . isArray ( m . payload ) ) { console . log ( ... m . payload ) ; } else { console . log ( m . payload ) ; } } ; }