src/log.js
function init (state, namespace) {
  namespace = namespace || 'deftly'
  const logger = { namespace: namespace }
  attach(state, logger, namespace)
  return logger
}
function init (state, namespace) {
  namespace = namespace || 'deftly'
  const logger = { namespace: namespace }
  attach(state, logger, namespace)
  return logger
}
function init ( state , namespace ) { namespace = namespace || 'deftly' const logger = { namespace : namespace } attach ( state , logger , namespace ) return logger }
create a namespaced log instance for use in modules
create a namespaced log instance for use in modules