Added mail thing

This commit is contained in:
Thomas FORGIONE
2015-07-17 14:53:45 +02:00
parent f32ffe9b01
commit 0fb63b93f6
8 changed files with 264 additions and 170 deletions

View File

@@ -64,6 +64,13 @@ Log.dberror = function(error) {
);
};
Log.mailerror = function(error) {
log(
'[MLE] ' + new Date() + ' ' + error,
Colors.RED
);
}
if (isDev) {
Log.debug = function(info) {
log(