From ab96567deedf34ca4194e687691e042d66e3938a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 14 Jan 2016 02:13:16 +0000 Subject: [PATCH] Add LOG_* globals. --- exec/syncjslint.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/exec/syncjslint.js b/exec/syncjslint.js index a6ee9e8d0b..1260743388 100644 --- a/exec/syncjslint.js +++ b/exec/syncjslint.js @@ -183,7 +183,9 @@ SOFTWARE. list_named_queues,flags_str, argc,argv,errno,errnostr,socket_errno, global,js,system,server,client,user,bbs,console,msg_area, - file_area,xtrn_area,MsgBase,File,Queue,Socket,User,COM,CryptContext + file_area,xtrn_area,MsgBase,File,Queue,Socket,User,COM,CryptContext, + LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_ERROR, LOG_WARNING, LOG_NOTICE, + LOG_INFO, LOG_DEBUG paranoidbrace, multiload, noradix, noescapement, poorrelations, noliteral, noextracomma @@ -735,7 +737,18 @@ var JSLINT = function () { Socket : true, User : true, COM : true, - CryptContext: true + CryptContext: true, + + LOG_EMERG : true, + LOG_ALERT : true, + LOG_CRIT : true, + LOG_ERR : true, + LOG_ERROR : true, + LOG_WARNING : true, + LOG_NOTICE : true, + LOG_INFO : true, + LOG_DEBUG : true + }, scope, // The current scope -- GitLab