Closed nichtich closed 3 months ago
You are right.
@nichtich I changed in the main, "tab" classes. There are some static functions used by the dashboard, where I kept error_log
in the first round - probably the index.php should create a global logger, that can be used by these and the auxiliary functions. I also improved the README a bit.
In general globals should be avoided, but having a global logger object seems legit.
Now error_log()
calls are purged out of the tool.
Setting
logLevel
configuration does not affecterror_log
. All 70 calls toerror_log
should be replaced by calls to the logger (see$this->log->...
).