magneticstain / Inquisition

An advanced and versatile open-source network anomaly detection platform
MIT License
8 stars 4 forks source link

Add Logger Function Within Celestial API Code #113

Open magneticstain opened 5 years ago

magneticstain commented 5 years ago

Currently, each log message generated by the Celestial API has the same format, but with some values added in-line with the message, e.g.:

error_log('could not parse config file :: [ SEV: CRIT ] :: [ FILENAME: '.$configFilename.' ]');

We should add a logger function/class that can be used globally within all libraries for logging functionality. It should accept: