mutualize log.js