mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Still logging if disabled (#1038)
This commit is contained in:
@ -22,7 +22,11 @@
|
||||
var log = {};
|
||||
|
||||
log.append = function (initiator, resource, target, highlight) {
|
||||
log.data.push({initiator, resource, target, highlight});
|
||||
storageManager.type.get(Setting.LOGGING, function (items) {
|
||||
if (items.enableLogging) {
|
||||
log.data.push({initiator, resource, target, highlight});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
log.data = [];
|
||||
|
Reference in New Issue
Block a user