/Meteor-Custom-Audit

Audit custom events such as `Info: User login`

Primary LanguageCoffeeScriptMIT LicenseMIT

meteor-custom-audit

https://atmospherejs.com/laboratory/meteor-custom-audit

Audit custom events such as:

  var customOptions = {
    sendEmail: true
  }
  Audit.Error('Incorrect password');
  Audit.Fatal('Exception Meteor.Error');
  Audit.Warn('Session timeout');
  Audit.Info('Create chart', customOptions);

Result saved into database

{
  "type": "Info",
  "message": "Create chart",
  "owner": false,
  "created_at": "ThuDec11201420: 28: 44GMT+0300(MSK)",
  "_id": "gxftndeejfC2rHv4f",
  "sendEmail": true
}