You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

result.js 238B

123456789101112131415
  1. var log = {
  2. SUCCESS : []
  3. , FAILURE : []
  4. , SKIPPED : []
  5. }
  6. var statuslog = function (err, data){
  7. if(err) log.FAILURE.push( {err, data} )
  8. else log.SUCCESS.push(data)
  9. }
  10. module.exports = {
  11. 'log' : log
  12. , 'statuslog' : statuslog
  13. }