Skip to content

Commit 053d7c8

Browse files
feat(ui): support disabling roarr output styling via localstorage
1 parent 5296263 commit 053d7c8

File tree

1 file changed

+3
-1
lines changed
  • invokeai/frontend/web/src/app/logging

1 file changed

+3
-1
lines changed

invokeai/frontend/web/src/app/logging/logger.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,7 @@ export const configureLogging = (
9393
localStorage.setItem('ROARR_FILTER', filter);
9494
}
9595

96-
ROARR.write = createLogWriter();
96+
const styleOutput = localStorage.getItem('ROARR_STYLE_OUTPUT') === 'false' ? false : true;
97+
98+
ROARR.write = createLogWriter({ styleOutput });
9799
};

0 commit comments

Comments
 (0)