Skip to content
Snippets Groups Projects
Commit c3e56c13 authored by rswindell's avatar rswindell
Browse files

Define log() priority levels (if not already defined) - for backward

compatibility with older sbbs builds.
parent 8906acf8
No related branches found
No related tags found
No related merge requests found
......@@ -591,6 +591,21 @@ var FI_USERXFER =6 /* User Xfer Download */
var FI_CLOSE =7 /* Close any open records */
/********************************************/
if(this.LOG_EMERG==undefined) { /* temporary backward compatibility kludge */
/********************************************/
/* Log "levels" supported by log() function */
/********************************************/
var LOG_EMERG =0 /* system is unusable */
var LOG_ALERT =1 /* action must be taken immediately */
var LOG_CRIT =2 /* critical conditions */
var LOG_ERR =3 /* error conditions */
var LOG_WARNING =4 /* warning conditions */
var LOG_NOTICE =5 /* normal but significant condition */
var LOG_INFO =6 /* informational */
var LOG_DEBUG =7 /* debug-level messages */
/********************************************/
}
/* Message attributes */
var MSG_PRIVATE =(1<<0)
var MSG_READ =(1<<1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment