The line that triggers the error looks like this:
Code: Select all
constructor() {
GSLog.Info("Loading Economy ", Log.LVL_WARNING) // <------------ Line 36 in econ/econ.nut
}
SuperLib.Log has these levels defined:
Code: Select all
/* Log levels: */
static LVL_INFO = 1; // main info. eg what it is doing
static LVL_SUB_DECISIONS = 2; // sub decisions - eg. reasons for not doing certain things etc.
static LVL_DEBUG = 3; // debug prints - debug prints during carrying out actions
Users of SuperLib can call SetIsLevelAcceptedFunction to inject a different function to decide if a log message should be outputed or not if they like to introduce more levels. Or create your own constants with value 1, 2 and 3, as I would very unlikely change these values as too much code depend upon the log system.
stinkyfax:As you probably understood, this is an error in the script code. So you'll have to wait for the author to upload a fixed version.