feat(ui): support disabling roarr output styling via localstorage

This commit is contained in:
psychedelicious
2025-07-31 18:02:29 +10:00
parent 5296263954
commit 053d7c8c8e

View File

@@ -93,5 +93,7 @@ export const configureLogging = (
localStorage.setItem('ROARR_FILTER', filter);
}
ROARR.write = createLogWriter();
const styleOutput = localStorage.getItem('ROARR_STYLE_OUTPUT') === 'false' ? false : true;
ROARR.write = createLogWriter({ styleOutput });
};